diff options
| author | Teddy Wing | 2017-11-10 14:08:12 +0100 |
|---|---|---|
| committer | Teddy Wing | 2017-11-10 14:08:12 +0100 |
| commit | 5538c5dc2c81d98bd9f069d4fd859cd79b8b0756 (patch) | |
| tree | de54b1e118ab0d070abf4cd0d100d401fe15e8a6 /db/migrate | |
| parent | 63d85933ac99453c76df7cda102a4f60d94f5f53 (diff) | |
| download | chouette-core-5538c5dc2c81d98bd9f069d4fd859cd79b8b0756.tar.bz2 | |
Change `compliance_check_set_id` to `bigint`
I had missed this one in 63d85933ac99453c76df7cda102a4f60d94f5f53.
Thanks a lot to Robert for scouring the fields and finding it.
Since the v2 migration was irreversible, add a new one to change the
type of this foreign key.
Refs #4947
Diffstat (limited to 'db/migrate')
| -rw-r--r-- | db/migrate/20171110130416_change_foreign_keys_to_bigint_3.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20171110130416_change_foreign_keys_to_bigint_3.rb b/db/migrate/20171110130416_change_foreign_keys_to_bigint_3.rb new file mode 100644 index 000000000..bfe1b4be2 --- /dev/null +++ b/db/migrate/20171110130416_change_foreign_keys_to_bigint_3.rb @@ -0,0 +1,5 @@ +class ChangeForeignKeysToBigint3 < ActiveRecord::Migration + def change + change_column :compliance_check_resources, :compliance_check_set_id, :bigint + end +end |
