From f160f81a6daae8b478a5547078abc7c7b29ef747 Mon Sep 17 00:00:00 2001 From: David Gay Date: Mon, 5 Jul 2021 20:00:49 -0400 Subject: Change Floret GID to `floret` --- db/migrate/20210705235925_update_floret_gid.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20210705235925_update_floret_gid.rb (limited to 'db') diff --git a/db/migrate/20210705235925_update_floret_gid.rb b/db/migrate/20210705235925_update_floret_gid.rb new file mode 100644 index 0000000..db24044 --- /dev/null +++ b/db/migrate/20210705235925_update_floret_gid.rb @@ -0,0 +1,5 @@ +class UpdateFloretGid < ActiveRecord::Migration[6.1] + def change + Location.find_by_gid("floret_region").update(gid: "floret") + end +end -- cgit v1.2.3