Method: Pakyow::Data::Adapters::Sql::Migrator::AdapterMethods::Mysql#create!

Defined in:
lib/pakyow/data/adapters/sql/migrator/adapter_methods.rb

#create!Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



11
12
13
14
15
# File 'lib/pakyow/data/adapters/sql/migrator/adapter_methods.rb', line 11

def create!
  handle_error do
    @connection.adapter.connection.run("CREATE DATABASE `#{database}`")
  end
end