Module: Yogo::DataMapper::Adapters::PostgresAdapter
- Defined in:
- lib/yogo/datamapper/adapters/postgres.rb
Instance Method Summary collapse
Instance Method Details
#create_db(name) ⇒ Object
5 6 7 |
# File 'lib/yogo/datamapper/adapters/postgres.rb', line 5 def create_db(name) execute("CREATE DATABASE #{name}") end |