15 lines
295 B
Ruby
15 lines
295 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|