mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
12 lines
322 B
Ruby
12 lines
322 B
Ruby
class CreateLoreCreatures < ActiveRecord::Migration[6.0]
|
|
def change
|
|
create_table :lore_creatures do |t|
|
|
t.references :lore, null: false, foreign_key: true
|
|
t.references :creature, null: false, foreign_key: true
|
|
t.references :user, null: true, foreign_key: true
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|