lib/hanami/generators/database_config.rb in hanami-0.9.2 vs lib/hanami/generators/database_config.rb in hanami-1.0.0.beta1
- old
+ new
@@ -75,10 +75,10 @@
"mysql://localhost/#{ name }"
else
"mysql2://localhost/#{ name }"
end
when 'postgresql', 'postgres'
- "postgres://localhost/#{ name }"
+ "postgresql://localhost/#{ name }"
when 'sqlite', 'sqlite3'
"sqlite://db/#{ Shellwords.escape(name) }"
end
end