aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcedricnjanga2017-10-03 15:32:26 +0200
committercedricnjanga2017-10-03 15:32:26 +0200
commit983f5953d6df7166e91f52ba5eccaf27b8841f76 (patch)
tree585557291ffcc0ce1476523e7d5affbc30c04153
parent4c0c9d69fed94da43e19d83e7f9dc93e738b6907 (diff)
downloadchouette-core-983f5953d6df7166e91f52ba5eccaf27b8841f76.tar.bz2
Refs #4661 Remove string column from ComplianceCheckSet
-rw-r--r--db/migrate/20171003133042_remove_string_to_compliance_check_set.rb5
-rw-r--r--db/schema.rb3
2 files changed, 6 insertions, 2 deletions
diff --git a/db/migrate/20171003133042_remove_string_to_compliance_check_set.rb b/db/migrate/20171003133042_remove_string_to_compliance_check_set.rb
new file mode 100644
index 000000000..5c0ad0526
--- /dev/null
+++ b/db/migrate/20171003133042_remove_string_to_compliance_check_set.rb
@@ -0,0 +1,5 @@
+class RemoveStringToComplianceCheckSet < ActiveRecord::Migration
+ def change
+ remove_column :compliance_check_sets, :string, :string
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index db0687c1f..4a1ad3749 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: 20171003130549) do
+ActiveRecord::Schema.define(version: 20171003133042) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -195,7 +195,6 @@ ActiveRecord::Schema.define(version: 20171003130549) do
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "current_step_id"
- t.string "string"
t.float "current_step_progress"
t.string "name"
t.datetime "started_at"