diff options
author | David Gay <david@davidgay.org> | 2021-07-05 20:00:49 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-07-05 20:00:49 -0400 |
commit | f160f81a6daae8b478a5547078abc7c7b29ef747 (patch) | |
tree | 195e2d1f20378fae40b36ce260a67bb4c0e05fa8 /db/migrate | |
parent | 184b316d2655601c9d0c3eeac208ec6409860df5 (diff) |
Change Floret GID to `floret`
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20210705235925_update_floret_gid.rb | 5 |
1 files changed, 5 insertions, 0 deletions
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 |