mirror of
https://github.com/anteo/redmine_custom_workflows.git
synced 2026-01-25 15:54:19 +00:00
Plugin Failed to Install - #358
This commit is contained in:
parent
73e09038d1
commit
91d9333ccc
@ -22,6 +22,7 @@
|
||||
class AlterCustomWorkflows < ActiveRecord::Migration[4.2]
|
||||
def up
|
||||
change_table(:custom_workflows, bulk: true) do |t|
|
||||
t.remove_index :project_id
|
||||
t.remove :project_id
|
||||
t.remove :is_enabled
|
||||
t.string :name, null: false, default: ''
|
||||
@ -33,6 +34,7 @@ class AlterCustomWorkflows < ActiveRecord::Migration[4.2]
|
||||
def down
|
||||
change_table(:custom_workflows, bulk: true) do |t|
|
||||
t.references :project
|
||||
t.index :project_id, unique: true
|
||||
t.boolean :is_enabled, null: false, default: false
|
||||
t.remove :name
|
||||
t.remove :description
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user