Skip to content

Commit

Permalink
Add: Add usc to chart type
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Oct 13, 2023
1 parent b27e475 commit dd0ae56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/models/chart.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit dd0ae56

Please sign in to comment.