Guest User

Untitled

a guest
Jan 17th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.66 KB | None | 0 0
  1. I, [2018-01-09T09:59:37.647447 #291] INFO -- : Raven 2.7.1 configured not to capture errors: DSN not set
  2. D, [2018-01-09T09:59:37.889623 #291] DEBUG -- : (0.1ms) SELECT DATABASE() as db
  3. D, [2018-01-09T09:59:37.889844 #291] DEBUG -- : (0.1ms) SELECT GET_LOCK('2883591401913097050', 0);
  4. D, [2018-01-09T09:59:37.900524 #291] DEBUG -- : ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
  5. I, [2018-01-09T09:59:37.907947 #291] INFO -- : Migrating to AddBlueprintableToWidgetBlueprints (20180109095845)
  6. == 20180109095845 AddBlueprintableToWidgetBlueprints: migrating ===============
  7. -- add_reference(:widget_blueprints, :blueprintable, {:polymorphic=>true, :optional=>true, :name=>:idx_wb_blueprintable_type_id})
  8. D, [2018-01-09T09:59:37.981302 #291] DEBUG -- : (72.6ms) ALTER TABLE `widget_blueprints` ADD `blueprintable_type` varchar(255)
  9. D, [2018-01-09T09:59:38.041749 #291] DEBUG -- : (60.0ms) ALTER TABLE `widget_blueprints` ADD `blueprintable_id` int
  10. D, [2018-01-09T09:59:38.042566 #291] DEBUG -- : (0.3ms) SELECT RELEASE_LOCK('2883591401913097050')
  11. D, [2018-01-09T09:59:38.042769 #291] DEBUG -- : An error has occurred, all later migrations canceled:
  12.  
  13. Index name 'index_widget_blueprints_on_blueprintable_type_and_blueprintable_id' on table 'widget_blueprints' is too long; the limit is 64 characters excluded from capture: DSN not set
  14. rake aborted!
  15. StandardError: An error has occurred, all later migrations canceled:
  16.  
  17. Index name 'index_widget_blueprints_on_blueprintable_type_and_blueprintable_id' on table 'widget_blueprints' is too long; the limit is 64 characters
  18. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract/schema_statements.rb:1141:in `add_index_options'
  19. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:505:in `add_index'
  20. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract/schema_definitions.rb:493:in `index'
  21. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract/schema_definitions.rb:96:in `add_to'
  22. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract/schema_statements.rb:826:in `add_reference'
  23. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:846:in `block in method_missing'
  24. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:815:in `block in say_with_time'
  25. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:815:in `say_with_time'
  26. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:835:in `method_missing'
  27. /app/db/migrate/20180109095845_add_blueprintable_to_widget_blueprints.rb:3:in `change'
  28. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:789:in `exec_migration'
  29. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:773:in `block (2 levels) in migrate'
  30. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:772:in `block in migrate'
  31. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:398:in `with_connection'
  32. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:771:in `migrate'
  33. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:951:in `migrate'
  34. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1232:in `block in execute_migration_in_transaction'
  35. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1302:in `ddl_transaction'
  36. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1231:in `execute_migration_in_transaction'
  37. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1203:in `block in migrate_without_lock'
  38. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1202:in `each'
  39. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1202:in `migrate_without_lock'
  40. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1150:in `block in migrate'
  41. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1319:in `with_advisory_lock'
  42. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1150:in `migrate'
  43. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1006:in `up'
  44. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:984:in `migrate'
  45. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/tasks/database_tasks.rb:163:in `migrate'
  46. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/railties/databases.rake:58:in `block (2 levels) in <top (required)>'
  47. /app/vendor/cache/ruby/2.3.0/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
  48.  
  49. Caused by:
  50. ArgumentError: Index name 'index_widget_blueprints_on_blueprintable_type_and_blueprintable_id' on table 'widget_blueprints' is too long; the limit is 64 characters
  51. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract/schema_statements.rb:1141:in `add_index_options'
  52. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:505:in `add_index'
  53. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract/schema_definitions.rb:493:in `index'
  54. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract/schema_definitions.rb:96:in `add_to'
  55. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract/schema_statements.rb:826:in `add_reference'
  56. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:846:in `block in method_missing'
  57. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:815:in `block in say_with_time'
  58. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:815:in `say_with_time'
  59. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:835:in `method_missing'
  60. /app/db/migrate/20180109095845_add_blueprintable_to_widget_blueprints.rb:3:in `change'
  61. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:789:in `exec_migration'
  62. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:773:in `block (2 levels) in migrate'
  63. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:772:in `block in migrate'
  64. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:398:in `with_connection'
  65. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:771:in `migrate'
  66. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:951:in `migrate'
  67. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1232:in `block in execute_migration_in_transaction'
  68. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1302:in `ddl_transaction'
  69. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1231:in `execute_migration_in_transaction'
  70. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1203:in `block in migrate_without_lock'
  71. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1202:in `each'
  72. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1202:in `migrate_without_lock'
  73. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1150:in `block in migrate'
  74. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1319:in `with_advisory_lock'
  75. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1150:in `migrate'
  76. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1006:in `up'
  77. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:984:in `migrate'
  78. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/tasks/database_tasks.rb:163:in `migrate'
  79. /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/railties/databases.rake:58:in `block (2 levels) in <top (required)>'
  80. /app/vendor/cache/ruby/2.3.0/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
  81. Tasks: TOP => db:migrate
  82. (See full trace by running task with --trace)
Add Comment
Please, Sign In to add comment