aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20241111204736_add_is_admin_to_user.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20241111204736_add_is_admin_to_user.rb')
-rw-r--r--db/migrate/20241111204736_add_is_admin_to_user.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20241111204736_add_is_admin_to_user.rb b/db/migrate/20241111204736_add_is_admin_to_user.rb
new file mode 100644
index 0000000..a055513
--- /dev/null
+++ b/db/migrate/20241111204736_add_is_admin_to_user.rb
@@ -0,0 +1,5 @@
+class AddIsAdminToUser < ActiveRecord::Migration[8.0]
+ def change
+ add_column :users, :is_admin, :boolean, default: false
+ end
+end