loot
This commit is contained in:
13
db/migrate/20250310212905_create_loots.rb
Normal file
13
db/migrate/20250310212905_create_loots.rb
Normal file
@ -0,0 +1,13 @@
|
||||
class CreateLoots < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
create_table :loots do |t|
|
||||
t.integer :item_id
|
||||
t.datetime :timestamp
|
||||
t.string :item_name
|
||||
t.string :roll_type
|
||||
t.references :player, null: false, foreign_key: true
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user