mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-02 20:15:22 +02:00
Add new settings profile and preferences pages (#672)
* Add new settings profile and preferences pages * Fix lint errors
This commit is contained in:
parent
ad4de99f1a
commit
5a5f13b46b
15 changed files with 192 additions and 32 deletions
6
db/migrate/20240425000110_add_role_to_users.rb
Normal file
6
db/migrate/20240425000110_add_role_to_users.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
class AddRoleToUsers < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
create_enum :user_role, %w[admin member]
|
||||
add_column :users, :role, :user_role, default: "member", null: false
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue