Add visibility column to parties
This commit is contained in:
parent
2455c06f99
commit
dcec037470
1 changed files with 8 additions and 0 deletions
8
db/migrate/20230315114758_add_visibility_to_parties.rb
Normal file
8
db/migrate/20230315114758_add_visibility_to_parties.rb
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
class AddVisibilityToParties < ActiveRecord::Migration[7.0]
|
||||||
|
def change
|
||||||
|
# -1 = Private
|
||||||
|
# 0 = Unlisted
|
||||||
|
# 1 = Public
|
||||||
|
add_column :parties, :visibility, :integer, default: 1, null: false
|
||||||
|
end
|
||||||
|
end
|
||||||
Loading…
Reference in a new issue