Add migrations to add user roles and party visibility.

This commit is contained in:
Justin Edmund 2023-08-24 19:25:38 -07:00
parent ac7f5ab80a
commit d7c966e874
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,5 @@
class AddRoleToUsers < ActiveRecord::Migration[7.0]
def change
add_column :users, :role, :integer, default: 1, null: false
end
end

View file

@ -0,0 +1,5 @@
class AddVisibilityToParties < ActiveRecord::Migration[7.0]
def change
add_column :parties, :visibility, :integer, default: 1, null: false
end
end