From 05c602a3ff76ddffd01bbe7f3ec6a75781a3551d Mon Sep 17 00:00:00 2001 From: David Gay Date: Sat, 5 Jun 2021 18:33:05 -0400 Subject: Rename pig iron ingot --- db/migrate/20210605223042_rename_pig_iron_ingots.rb | 5 +++++ db/schema.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 db/migrate/20210605223042_rename_pig_iron_ingots.rb (limited to 'db') 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" -- cgit v1.2.3