lib/generators/pu/rodauth/install_generator.rb in plutonium-0.12.0 vs lib/generators/pu/rodauth/install_generator.rb in plutonium-0.12.1
- old
+ new
@@ -43,9 +43,11 @@
"\n config.action_mailer.default_url_options = { host: '127.0.0.1', port: ENV.fetch('PORT', 3000) }\n",
before: /^end/
end
def create_install_migration
+ next unless activerecord_adapter == "postgresql"
+
migration_template "db/migrate/install_rodauth.rb", "db/migrate/install_rodauth.rb" # , File.join(db_migrate_path, "#{migration_name}.rb")
end
def eject_layout
file = "app/views/layouts/rodauth.html.erb"