Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I, [2018-01-09T09:59:37.647447 #291] INFO -- : Raven 2.7.1 configured not to capture errors: DSN not set
- D, [2018-01-09T09:59:37.889623 #291] DEBUG -- : (0.1ms) SELECT DATABASE() as db
- D, [2018-01-09T09:59:37.889844 #291] DEBUG -- : (0.1ms) SELECT GET_LOCK('2883591401913097050', 0);
- D, [2018-01-09T09:59:37.900524 #291] DEBUG -- : ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
- I, [2018-01-09T09:59:37.907947 #291] INFO -- : Migrating to AddBlueprintableToWidgetBlueprints (20180109095845)
- == 20180109095845 AddBlueprintableToWidgetBlueprints: migrating ===============
- -- add_reference(:widget_blueprints, :blueprintable, {:polymorphic=>true, :optional=>true, :name=>:idx_wb_blueprintable_type_id})
- D, [2018-01-09T09:59:37.981302 #291] DEBUG -- : (72.6ms) ALTER TABLE `widget_blueprints` ADD `blueprintable_type` varchar(255)
- D, [2018-01-09T09:59:38.041749 #291] DEBUG -- : (60.0ms) ALTER TABLE `widget_blueprints` ADD `blueprintable_id` int
- D, [2018-01-09T09:59:38.042566 #291] DEBUG -- : (0.3ms) SELECT RELEASE_LOCK('2883591401913097050')
- D, [2018-01-09T09:59:38.042769 #291] DEBUG -- : An error has occurred, all later migrations canceled:
- 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
- rake aborted!
- StandardError: An error has occurred, all later migrations canceled:
- Index name 'index_widget_blueprints_on_blueprintable_type_and_blueprintable_id' on table 'widget_blueprints' is too long; the limit is 64 characters
- /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'
- /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'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract/schema_definitions.rb:493:in `index'
- /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'
- /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'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:846:in `block in method_missing'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:815:in `block in say_with_time'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:815:in `say_with_time'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:835:in `method_missing'
- /app/db/migrate/20180109095845_add_blueprintable_to_widget_blueprints.rb:3:in `change'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:789:in `exec_migration'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:773:in `block (2 levels) in migrate'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:772:in `block in migrate'
- /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'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:771:in `migrate'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:951:in `migrate'
- /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'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1302:in `ddl_transaction'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1231:in `execute_migration_in_transaction'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1203:in `block in migrate_without_lock'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1202:in `each'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1202:in `migrate_without_lock'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1150:in `block in migrate'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1319:in `with_advisory_lock'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1150:in `migrate'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1006:in `up'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:984:in `migrate'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/tasks/database_tasks.rb:163:in `migrate'
- /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)>'
- /app/vendor/cache/ruby/2.3.0/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
- Caused by:
- ArgumentError: Index name 'index_widget_blueprints_on_blueprintable_type_and_blueprintable_id' on table 'widget_blueprints' is too long; the limit is 64 characters
- /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'
- /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'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract/schema_definitions.rb:493:in `index'
- /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'
- /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'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:846:in `block in method_missing'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:815:in `block in say_with_time'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:815:in `say_with_time'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:835:in `method_missing'
- /app/db/migrate/20180109095845_add_blueprintable_to_widget_blueprints.rb:3:in `change'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:789:in `exec_migration'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:773:in `block (2 levels) in migrate'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:772:in `block in migrate'
- /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'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:771:in `migrate'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:951:in `migrate'
- /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'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1302:in `ddl_transaction'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1231:in `execute_migration_in_transaction'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1203:in `block in migrate_without_lock'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1202:in `each'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1202:in `migrate_without_lock'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1150:in `block in migrate'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1319:in `with_advisory_lock'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1150:in `migrate'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1006:in `up'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:984:in `migrate'
- /app/vendor/cache/ruby/2.3.0/gems/activerecord-5.0.6/lib/active_record/tasks/database_tasks.rb:163:in `migrate'
- /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)>'
- /app/vendor/cache/ruby/2.3.0/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
- Tasks: TOP => db:migrate
- (See full trace by running task with --trace)
Add Comment
Please, Sign In to add comment