diff options
| author | mo khan <mo@mokhan.ca> | 2013-12-29 22:49:14 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-12-29 22:49:14 -0700 |
| commit | bf4a5f6dfb96e6f1ec5fdfecf5ea6ec52adf1648 (patch) | |
| tree | ca7ed1d5faaadd5b24e7bf21543c773592ea4ae7 /db/migrate | |
| parent | 7a0bd9aea646e5a2be0e5af5aba807ce14dc44ad (diff) | |
add is_admin column to users table.
Diffstat (limited to 'db/migrate')
| -rw-r--r-- | db/migrate/20131230054711_add_is_admin_to_users.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20131230054711_add_is_admin_to_users.rb b/db/migrate/20131230054711_add_is_admin_to_users.rb new file mode 100644 index 00000000..def2bbb0 --- /dev/null +++ b/db/migrate/20131230054711_add_is_admin_to_users.rb @@ -0,0 +1,5 @@ +class AddIsAdminToUsers < ActiveRecord::Migration + def change + add_column :users, :is_admin, :boolean + end +end |
