diff options
author | David Gay <david@davidgay.org> | 2021-06-05 18:33:05 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-06-05 18:33:05 -0400 |
commit | 05c602a3ff76ddffd01bbe7f3ec6a75781a3551d (patch) | |
tree | 20f03ca515ca8b453b19687fb4ef99401b3943da /db/migrate | |
parent | abe016c4779d9247f6fde3c339eb3b8c7f6badc6 (diff) |
Rename pig iron ingot
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20210605223042_rename_pig_iron_ingots.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20210605223042_rename_pig_iron_ingots.rb b/db/migrate/20210605223042_rename_pig_iron_ingots.rb new file mode 100644 index 0000000..7a0c98e --- /dev/null +++ b/db/migrate/20210605223042_rename_pig_iron_ingots.rb @@ -0,0 +1,5 @@ +class RenamePigIronIngots < ActiveRecord::Migration[6.1] + def change + Item.find_by_gid("pig_iron_ingot").update(gid: "crude_iron_ingot") + end +end |