{"action":"opened","issue":{"url":"https://api.github.com/repos/plentz/lol_dba/issues/94","repository_url":"https://api.github.com/repos/plentz/lol_dba","labels_url":"https://api.github.com/repos/plentz/lol_dba/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/plentz/lol_dba/issues/94/comments","events_url":"https://api.github.com/repos/plentz/lol_dba/issues/94/events","html_url":"https://github.com/plentz/lol_dba/issues/94","id":308194651,"number":94,"title":"db:migrate_sql is broken for rails versions > 5","user":{"login":"cmason","id":47318,"avatar_url":"https://avatars2.githubusercontent.com/u/47318?v=4","gravatar_id":"","url":"https://api.github.com/users/cmason","html_url":"https://github.com/cmason","followers_url":"https://api.github.com/users/cmason/followers","following_url":"https://api.github.com/users/cmason/following{/other_user}","gists_url":"https://api.github.com/users/cmason/gists{/gist_id}","starred_url":"https://api.github.com/users/cmason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmason/subscriptions","organizations_url":"https://api.github.com/users/cmason/orgs","repos_url":"https://api.github.com/users/cmason/repos","events_url":"https://api.github.com/users/cmason/events{/privacy}","received_events_url":"https://api.github.com/users/cmason/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-23T22:18:27Z","updated_at":"2018-03-23T22:18:27Z","closed_at":null,"author_association":"NONE","body":"Running `db:migrate_sql` in versions of Rails > 5 results in this error:\r\n\r\n```\r\n$ rails db:migrate_sql\r\nrails aborted!\r\nNoMethodError: undefined method `migrations_path' for ActiveRecord::Migrator:Class\r\nDid you mean?  migrations_path=\r\n               migrations_paths\r\n               migrations_paths=\r\n/Users/cmason/.gem/ruby/2.5.0/gems/lol_dba-2.1.5/lib/lol_dba/sql_generator.rb:62:in `migrations'\r\n/Users/cmason/.gem/ruby/2.5.0/gems/lol_dba-2.1.5/lib/lol_dba/sql_generator.rb:84:in `block in generate'\r\n/Users/cmason/.gem/ruby/2.5.0/gems/lol_dba-2.1.5/lib/lol_dba/sql_generator.rb:53:in `generate_instead_of_executing'\r\n/Users/cmason/.gem/ruby/2.5.0/gems/lol_dba-2.1.5/lib/lol_dba/sql_generator.rb:84:in `generate'\r\n/Users/cmason/.gem/ruby/2.5.0/gems/lol_dba-2.1.5/lib/tasks/lol_dba.rake:12:in `block (2 levels) in <main>'\r\n/Users/cmason/.gem/ruby/2.5.0/gems/railties-5.2.0.rc1/lib/rails/commands/rake/rake_command.rb:23:in `block in perform'\r\n/Users/cmason/.gem/ruby/2.5.0/gems/railties-5.2.0.rc1/lib/rails/commands/rake/rake_command.rb:20:in `perform'\r\n/Users/cmason/.gem/ruby/2.5.0/gems/railties-5.2.0.rc1/lib/rails/command.rb:48:in `invoke'\r\n/Users/cmason/.gem/ruby/2.5.0/gems/railties-5.2.0.rc1/lib/rails/commands.rb:18:in `<main>'\r\n/Users/cmason/.gem/ruby/2.5.0/gems/bootsnap-1.2.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:19:in `require'\r\n/Users/cmason/.gem/ruby/2.5.0/gems/bootsnap-1.2.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:19:in `block in require_with_bootsnap_lfi'\r\n/Users/cmason/.gem/ruby/2.5.0/gems/bootsnap-1.2.0/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register'\r\n/Users/cmason/.gem/ruby/2.5.0/gems/bootsnap-1.2.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:18:in `require_with_bootsnap_lfi'\r\n/Users/cmason/.gem/ruby/2.5.0/gems/bootsnap-1.2.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:27:in `require'\r\n/Users/cmason/.gem/ruby/2.5.0/gems/activesupport-5.2.0.rc1/lib/active_support/dependencies.rb:283:in `block in require'\r\n/Users/cmason/.gem/ruby/2.5.0/gems/activesupport-5.2.0.rc1/lib/active_support/dependencies.rb:249:in `load_dependency'\r\n/Users/cmason/.gem/ruby/2.5.0/gems/activesupport-5.2.0.rc1/lib/active_support/dependencies.rb:283:in `require'\r\nbin/rails:6:in `<main>'\r\nTasks: TOP => db:migrate_sql\r\n(See full trace by running task with --trace)\r\n```"}}
{"actor":{"display_login":"cmason"}}