Add anomaly detection flag to exercise collections

This commit is contained in:
Maximilian Grundke
2017-11-15 13:15:31 +01:00
parent 94713ce7d5
commit 80edffaa39
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,5 @@
class AddAnomalyDetectionFlagToExerciseCollection < ActiveRecord::Migration
def change
add_column :exercise_collections, :use_anomaly_detection, :boolean, :default => false
end
end

View File

@ -11,7 +11,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20170920145852) do ActiveRecord::Schema.define(version: 20171115121125) do
# These are extensions that must be enabled in order to support this database # These are extensions that must be enabled in order to support this database
enable_extension "plpgsql" enable_extension "plpgsql"
@ -104,6 +104,7 @@ ActiveRecord::Schema.define(version: 20170920145852) do
t.string "name" t.string "name"
t.datetime "created_at" t.datetime "created_at"
t.datetime "updated_at" t.datetime "updated_at"
t.boolean "use_anomaly_detection", default: false
end end
create_table "exercise_collections_exercises", id: false, force: :cascade do |t| create_table "exercise_collections_exercises", id: false, force: :cascade do |t|