Big first commit
authentication-zero and first layout
This commit is contained in:
12
db/migrate/20260520205436_create_events.rb
Normal file
12
db/migrate/20260520205436_create_events.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
Reference in New Issue
Block a user