Top Level Namespace
Defined Under Namespace
Modules: Miteru Classes: InitialSchema, V11Schema
Instance Method Summary collapse
Instance Method Details
#adapter ⇒ Object
28 29 30 31 32 33 |
# File 'lib/miteru/database.rb', line 28 def adapter return "postgresql" if Miteru.configuration.database.start_with?("postgresql://", "postgres://") return "mysql2" if Miteru.configuration.database.start_with?("mysql2://") "sqlite3" end |