aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorZog2018-03-26 11:12:25 +0200
committerZog2018-03-26 11:12:25 +0200
commitdeea16664b122b9db9c615980944a63f510c39f7 (patch)
tree60adeaef608b58fdc40a12101f54d66fc1b83cda /db
parent1a64e4cb265a320005247e54b880287d3308d28b (diff)
downloadchouette-core-deea16664b122b9db9c615980944a63f510c39f7.tar.bz2
Refs #6218; Limit accessible exports for workgroups
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20180326085804_bind_exports_and_imports_types_to_workgroups.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20180326085804_bind_exports_and_imports_types_to_workgroups.rb b/db/migrate/20180326085804_bind_exports_and_imports_types_to_workgroups.rb
new file mode 100644
index 000000000..d75336673
--- /dev/null
+++ b/db/migrate/20180326085804_bind_exports_and_imports_types_to_workgroups.rb
@@ -0,0 +1,6 @@
+class BindExportsAndImportsTypesToWorkgroups < ActiveRecord::Migration
+ def change
+ add_column :workgroups, "import_types", :string, default: [], array: true
+ add_column :workgroups, "export_types", :string, default: [], array: true
+ end
+end