aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema.rb
diff options
context:
space:
mode:
authorTeddy Wing2017-09-25 17:49:24 +0200
committerTeddy Wing2017-09-25 17:49:24 +0200
commitc4d4474963d7362ed1e58644d4ea61232d287449 (patch)
tree6cbaf6750052185d2f0661e8c36748436a0c7c6e /db/schema.rb
parente9a87b0fcc7c41174f50033f045c789f6a00f22f (diff)
downloadchouette-core-c4d4474963d7362ed1e58644d4ea61232d287449.tar.bz2
Add data migration to give all Workbenches a ReferentialSuite
Existing `Workbench`es don't have associated `ReferentialSuite`s in their `output` fields. The new requirement is that all `Workbench`es must have a `ReferentialSuite`. To enforce this for existing `Workbench` records, this data migration creates new (empty) `ReferentialSuite`s for each existing `Workbench`. Not performant at all, and I'm worried I'm missing some edge case, but this is the gist of it. Refs #3520
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb
index e7efce531..c95280051 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20170925123159) do
+ActiveRecord::Schema.define(version: 20170925154017) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"