diff options
author | David Gay <david@davidgay.org> | 2021-06-13 21:29:52 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-06-13 21:29:52 -0400 |
commit | e78a3513632954cb53fc8c806158c1fc98357173 (patch) | |
tree | a8d7ac13bb4db9ef244bec57416fc08ef4345d6d /db | |
parent | 18c2378d06d5f9323e50eead92b3cf7dc61917b5 (diff) |
ItemInfixes
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20210614004827_create_item_infixes.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20210614004827_create_item_infixes.rb b/db/migrate/20210614004827_create_item_infixes.rb new file mode 100644 index 0000000..5b49892 --- /dev/null +++ b/db/migrate/20210614004827_create_item_infixes.rb @@ -0,0 +1,11 @@ +class CreateItemInfixes < ActiveRecord::Migration[6.1] + def change + create_table :item_infixes do |t| + t.references :character, null: false, foreign_key: true + t.references :item, null: false, foreign_key: true + t.references :skill, null: false, foreign_key: true + + t.timestamps + end + end +end |