Files
adamantium/config/db/migrate/20231118054707_create_login_token.rb
2024-08-05 19:00:09 +10:00

13 lines
290 B
Ruby

# frozen_string_literal: true
ROM::SQL.migration do
change do
create_table :login_tokens do
primary_key :id
column :user_id, :uuid, null: false
column :token, :uuid, null: false
column :created_at, :timestamptz, default: Sequel.lit("now()")
end
end
end