13 lines
264 B
Ruby
13 lines
264 B
Ruby
class CreateAuthentications < ActiveRecord::Migration[6.0]
|
|
def change
|
|
create_table :authentications do |t|
|
|
t.integer :user_id
|
|
t.string :access_token
|
|
t.string :refresh_token
|
|
t.datetime :expires_at
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|