11 lines
219 B
Ruby
11 lines
219 B
Ruby
|
class CreateSessions < ActiveRecord::Migration[5.2]
|
||
|
def change
|
||
|
create_table :sessions do |t|
|
||
|
t.string :user_id
|
||
|
t.boolean :is_admin
|
||
|
t.string :token, limit: 25
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|