aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20180507130455_add_owner_to_workgroups.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20180507130455_add_owner_to_workgroups.rb b/db/migrate/20180507130455_add_owner_to_workgroups.rb
new file mode 100644
index 000000000..2ed601492
--- /dev/null
+++ b/db/migrate/20180507130455_add_owner_to_workgroups.rb
@@ -0,0 +1,7 @@
+class AddOwnerToWorkgroups < ActiveRecord::Migration
+ def change
+ add_column :workgroups, :owner_id, :bigint
+ add_column :workbenches, :owner_compliance_control_set_ids, :hstore
+ remove_column :workgroups, :import_compliance_control_set_ids
+ end
+end