lib/generators/mailkick/install_generator.rb in mailkick-0.4.3 vs lib/generators/mailkick/install_generator.rb in mailkick-1.0.0
- old
+ new
@@ -5,10 +5,10 @@
class InstallGenerator < Rails::Generators::Base
include ActiveRecord::Generators::Migration
source_root File.join(__dir__, "templates")
def copy_migration
- migration_template "install.rb", "db/migrate/install_mailkick.rb", migration_version: migration_version
+ migration_template "install.rb", "db/migrate/create_mailkick_subscriptions.rb", migration_version: migration_version
end
def migration_version
"[#{ActiveRecord::VERSION::MAJOR}.#{ActiveRecord::VERSION::MINOR}]"
end