aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorXinhui2017-11-21 17:39:56 +0100
committerXinhui2017-11-28 12:18:59 +0100
commit1e54a61308a8bbb9ad9d63341a4c9d817f414026 (patch)
tree3e290ff7c1718092383a189d6e7bb704b96d94e6 /db
parentd67ff84efc39190c8b3eb4a05a461a330198a5cd (diff)
downloadchouette-core-1e54a61308a8bbb9ad9d63341a4c9d817f414026.tar.bz2
Remove column creator
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20171121163631_remove_creator_from_compliance_check_sets.rb5
-rw-r--r--db/migrate/20171121163832_remove_creator_from_imports.rb5
-rw-r--r--db/schema.rb4
3 files changed, 11 insertions, 3 deletions
diff --git a/db/migrate/20171121163631_remove_creator_from_compliance_check_sets.rb b/db/migrate/20171121163631_remove_creator_from_compliance_check_sets.rb
new file mode 100644
index 000000000..0e8179ea5
--- /dev/null
+++ b/db/migrate/20171121163631_remove_creator_from_compliance_check_sets.rb
@@ -0,0 +1,5 @@
+class RemoveCreatorFromComplianceCheckSets < ActiveRecord::Migration
+ def change
+ remove_column :compliance_check_sets, :creator
+ end
+end
diff --git a/db/migrate/20171121163832_remove_creator_from_imports.rb b/db/migrate/20171121163832_remove_creator_from_imports.rb
new file mode 100644
index 000000000..d672c491e
--- /dev/null
+++ b/db/migrate/20171121163832_remove_creator_from_imports.rb
@@ -0,0 +1,5 @@
+class RemoveCreatorFromImports < ActiveRecord::Migration
+ def change
+ remove_column :imports, :creator
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index f861eae1f..0577025ba 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20171121153506) do
+ActiveRecord::Schema.define(version: 20171121163832) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -185,7 +185,6 @@ ActiveRecord::Schema.define(version: 20171121153506) do
t.integer "referential_id", limit: 8
t.integer "compliance_control_set_id", limit: 8
t.integer "workbench_id", limit: 8
- t.string "creator"
t.string "status"
t.integer "parent_id", limit: 8
t.string "parent_type"
@@ -405,7 +404,6 @@ ActiveRecord::Schema.define(version: 20171121153506) do
t.datetime "notified_parent_at"
t.integer "current_step", default: 0
t.integer "total_steps", default: 0
- t.string "creator"
end
add_index "imports", ["referential_id"], name: "index_imports_on_referential_id", using: :btree