diff options
| author | Teddy Wing | 2017-09-25 15:13:10 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-09-25 15:13:10 +0200 |
| commit | fa7a8aa5bbc5eea97f89bbab662303e5b5403231 (patch) | |
| tree | a2ee40704d144d21466297309ea0cf27279090c6 /db/migrate | |
| parent | 4e878caf4170f9be96f0c854761ed279b057e91c (diff) | |
| download | chouette-core-fa7a8aa5bbc5eea97f89bbab662303e5b5403231.tar.bz2 | |
Add `output_id` column to `workbenches`
This column will be a reference to a `ReferentialSuite`. Going forward,
all `Workbench`es will be required to have an associated
`ReferentialSuite`.
Refs #3520
Diffstat (limited to 'db/migrate')
| -rw-r--r-- | db/migrate/20170925123159_add_output_to_workbenches.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20170925123159_add_output_to_workbenches.rb b/db/migrate/20170925123159_add_output_to_workbenches.rb new file mode 100644 index 000000000..d6aea96a0 --- /dev/null +++ b/db/migrate/20170925123159_add_output_to_workbenches.rb @@ -0,0 +1,5 @@ +class AddOutputToWorkbenches < ActiveRecord::Migration + def change + add_column :workbenches, :output_id, :bigint, index: true + end +end |
