Files
clinch/db/migrate/20251023053652_create_sessions.rb
Dan Milne 56f7dd7b3c
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / system-test (push) Has been cancelled
First crack
2025-10-23 16:45:00 +11:00

12 lines
248 B
Ruby

class CreateSessions < ActiveRecord::Migration[8.1]
def change
create_table :sessions do |t|
t.references :user, null: false, foreign_key: true
t.string :ip_address
t.string :user_agent
t.timestamps
end
end
end