Files
vault171/db/migrate/20260520205436_create_events.rb
David Böhm 6f192274ab
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
Big first commit
authentication-zero and first layout
2026-05-21 02:54:39 +02:00

13 lines
280 B
Ruby

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