diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20210605223042_rename_pig_iron_ingots.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 2 |
2 files changed, 6 insertions, 1 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 diff --git a/db/schema.rb b/db/schema.rb index 9e20579..9a41002 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2021_06_02_225942) do +ActiveRecord::Schema.define(version: 2021_06_05_223042) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" |