diff --git a/db/migrate/20241017164233_add_disabled_to_automated_workflow_executions.rb b/db/migrate/20241017164233_add_disabled_to_automated_workflow_executions.rb new file mode 100644 index 0000000000..720e43649b --- /dev/null +++ b/db/migrate/20241017164233_add_disabled_to_automated_workflow_executions.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +# Migration to add a new disabled column to the automated workflow executions table +class AddDisabledToAutomatedWorkflowExecutions < ActiveRecord::Migration[7.2] + def change + add_column :automated_workflow_executions, :disabled, :boolean, default: false, null: false + end +end diff --git a/db/schema.rb b/db/schema.rb index 3072089586..917db1ef0e 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.2].define(version: 2024_10_03_193845) do +ActiveRecord::Schema[7.2].define(version: 2024_10_17_164233) do # These are extensions that must be enabled in order to support this database enable_extension "hstore" enable_extension "plpgsql" @@ -91,6 +91,7 @@ t.datetime "updated_at", null: false t.jsonb "log_data" t.string "name" + t.boolean "disabled", default: false, null: false t.index ["created_by_id"], name: "index_automated_workflow_executions_on_created_by_id" t.index ["namespace_id"], name: "index_automated_workflow_executions_on_namespace_id" end