Migration error with Redmine 3.3 (1.5.7 devel) #538
This commit is contained in:
parent
f6097b30e7
commit
38676e63d7
@ -26,7 +26,7 @@ class ApprovalWorkflowStdFields < ActiveRecord::Migration
|
||||
# Set updated_on
|
||||
DmsfWorkflow.all.each(&:touch)
|
||||
# Set created_on and author_id
|
||||
DmsfWorkflow.update_all 'created_on = updated_on, author_id = (select id from users where admin = 1 limit 1)'
|
||||
DmsfWorkflow.update_all 'created_on = updated_on, author_id = (select id from users where admin limit 1)'
|
||||
end
|
||||
|
||||
def self.down
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user