From dd0ae56fe647a4a10e374adfa9c4374f317465e5 Mon Sep 17 00:00:00 2001 From: sevenc-nanashi Date: Fri, 13 Oct 2023 22:43:24 +0900 Subject: [PATCH] Add: Add usc to chart type --- backend/app/models/chart.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/models/chart.rb b/backend/app/models/chart.rb index 93966da..2c6b0bb 100644 --- a/backend/app/models/chart.rb +++ b/backend/app/models/chart.rb @@ -26,7 +26,7 @@ class Chart < ApplicationRecord inverse_of: :variants has_many :likes, dependent: :destroy has_many :tags, dependent: :destroy - enum chart_type: { sus: 0, mmws: 1, chs: 2 } + enum chart_type: { sus: 0, mmws: 1, chs: 2, usc: 3 } VISIBILITY = { private: 0, public: 1, scheduled: 2 } enum :visibility, VISIBILITY, prefix: "visibility"