From 5cc9e6ab436f0570314d6de7230057bbab12cb0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Tue, 22 Apr 2025 10:43:19 +0200 Subject: [PATCH] #358 Removing a not-null column --- db/migrate/20120601054047_alter_custom_workflows.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/db/migrate/20120601054047_alter_custom_workflows.rb b/db/migrate/20120601054047_alter_custom_workflows.rb index 26de003..850ec7b 100644 --- a/db/migrate/20120601054047_alter_custom_workflows.rb +++ b/db/migrate/20120601054047_alter_custom_workflows.rb @@ -24,6 +24,7 @@ class AlterCustomWorkflows < ActiveRecord::Migration[4.2] change_table(:custom_workflows, bulk: true) do |t| t.remove_index :project_id t.remove :project_id + t.change_null :is_enabled, true # To remove a not-null constraint in SQL server t.remove :is_enabled t.string :name, null: false, default: '' t.string :description, :string, null: false, default: ''