mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 10:38:50 +01:00
Use Omniauthable user model with admin role
This commit is contained in:
8
db/migrate/20190203164629_drop_admins.rb
Normal file
8
db/migrate/20190203164629_drop_admins.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
class DropAdmins < ActiveRecord::Migration[5.2]
|
||||
def up
|
||||
drop_table :admins
|
||||
end
|
||||
def down
|
||||
fail ActiveRecord::IrreversibleMigration
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user