From deea16664b122b9db9c615980944a63f510c39f7 Mon Sep 17 00:00:00 2001 From: Zog Date: Mon, 26 Mar 2018 11:12:25 +0200 Subject: Refs #6218; Limit accessible exports for workgroups --- .../20180326085804_bind_exports_and_imports_types_to_workgroups.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 db/migrate/20180326085804_bind_exports_and_imports_types_to_workgroups.rb (limited to 'db/migrate') 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 -- cgit v1.2.3