From c7912bc9e5b70d78caf4aa0c3ec950f553fb5bde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Wed, 1 Apr 2015 14:17:17 +0200 Subject: [PATCH] Index is too long; the limit is 62 characters --- db/migrate/20120822100404_create_dmsf_workflow_step_actions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20120822100404_create_dmsf_workflow_step_actions.rb b/db/migrate/20120822100404_create_dmsf_workflow_step_actions.rb index 2ee590e3..931accbf 100644 --- a/db/migrate/20120822100404_create_dmsf_workflow_step_actions.rb +++ b/db/migrate/20120822100404_create_dmsf_workflow_step_actions.rb @@ -28,7 +28,7 @@ class CreateDmsfWorkflowStepActions < ActiveRecord::Migration add_index :dmsf_workflow_step_actions, :dmsf_workflow_step_assignment_id, # The default index name exceeds the index name limit - {:name => 'index_dmsf_workflow_step_actions_on_workflow_step_assignment_id'} + {:name => 'idx_dmsf_wfstepact_on_wfstepassign_id'} end def self.down drop_table :dmsf_workflow_step_actions