aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorcedricnjanga2018-02-11 21:13:40 -0800
committercedricnjanga2018-03-02 08:16:38 -0800
commit3887b07104aac0e7aaa8263bc1d6564eeae0edc4 (patch)
tree7f112463ffcf1d852161e841b7f8cd694f5f8b3b /db/migrate
parentc81b219024d1265f4cef0c5eb66fb12364f680be (diff)
downloadchouette-core-3887b07104aac0e7aaa8263bc1d6564eeae0edc4.tar.bz2
Refs Refs #3562 Add workbench CCSET affectation
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20180208174834_add_attributes_to_workbench.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20180208174834_add_attributes_to_workbench.rb b/db/migrate/20180208174834_add_attributes_to_workbench.rb
new file mode 100644
index 000000000..02002a772
--- /dev/null
+++ b/db/migrate/20180208174834_add_attributes_to_workbench.rb
@@ -0,0 +1,9 @@
+class AddAttributesToWorkbench < ActiveRecord::Migration
+ def change
+ add_column :workbenches, :import_compliance_control_set_id, :integer, limit: 8
+ add_column :workbenches, :merge_compliance_control_set_id, :integer, limit: 8
+
+ add_index :workbenches, :import_compliance_control_set_id
+ add_index :workbenches, :merge_compliance_control_set_id
+ end
+end