src/Db/DbHelper.php
public function createTable($conn, $table, $schema, array $definition)
    {
        if (empty($definition['columns'])) {
            throw new Exception("The table must contain at least one column");
        }
        $conn->execute($this->getDialect($conn)->createTable($table, $schema, $definition));
    }
public function createTable($conn, $table, $schema, array $definition)
    {
        if (empty($definition['columns'])) {
            throw new Exception("The table must contain at least one column");
        }
        $conn->execute($this->getDialect($conn)->createTable($table, $schema, $definition));
    }
public function createTable ( $ conn , $ table , $ schema , array $ definition ) { if ( empty ( $ definition [ 'columns' ] ) ) { throw new Exception ( "The table must contain at least one column" ) ; } $ conn -> execute ( $ this -> getDialect ( $ conn ) -> createTable ( $ table , $ schema , $ definition ) ) ; }
creates database table
creates database table