Skip to content

Commit

Permalink
Add permissions to staff
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpattinson committed Sep 29, 2023
1 parent 8ea8c21 commit b1fdefd
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 15 deletions.
1 change: 1 addition & 0 deletions app/models/staff.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
# support_console_permission :boolean default(FALSE), not null
# unconfirmed_email :string
# unlock_token :string
# verify_permission :boolean default(FALSE), not null
# withdraw_permission :boolean default(FALSE), not null
# created_at :datetime not null
# updated_at :datetime not null
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
class AddVerificationPermissionToStaffUsers < ActiveRecord::Migration[7.0]
def change
add_column :staff,
:verify_permission,
:boolean,
default: false,
null: false
end
end
31 changes: 16 additions & 15 deletions db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b1fdefd

Please sign in to comment.