diff options
| author | Zog | 2018-03-26 11:12:25 +0200 | 
|---|---|---|
| committer | Zog | 2018-03-26 11:12:25 +0200 | 
| commit | deea16664b122b9db9c615980944a63f510c39f7 (patch) | |
| tree | 60adeaef608b58fdc40a12101f54d66fc1b83cda /db/migrate | |
| parent | 1a64e4cb265a320005247e54b880287d3308d28b (diff) | |
| download | chouette-core-deea16664b122b9db9c615980944a63f510c39f7.tar.bz2 | |
Refs #6218; Limit accessible exports for workgroups
Diffstat (limited to 'db/migrate')
| -rw-r--r-- | db/migrate/20180326085804_bind_exports_and_imports_types_to_workgroups.rb | 6 | 
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 | 
