We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to reproduce:
use Phalcon\Db\Adapter\Pdo\Mysql; use Phalcon\Db\Column; $connection = new Mysql([ 'host' => 'localhost', 'username' => 'root', 'password' => '', 'dbname' => 'devtools_issue_429', 'port' => '', 'persistent' => true, 'options' => [ PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'UTF8'", PDO::ATTR_CASE => PDO::CASE_LOWER ], ]); $column = new Column('status', [ 'type' => Column::TYPE_INTEGER, 'notNull' => true, 'size' => 1, 'default' => 0 ]); $connection->createTable('user', '', ['columns' => [$column]]);
actual
CREATE TABLE `user` ( `status` int(1) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8
expected
CREATE TABLE `user` ( `status` int(1) NOT NULL DEFAULT '0' ) ENGINE=InnoDB DEFAULT CHARSET=utf8
The text was updated successfully, but these errors were encountered:
Refs phalcon/phalcon-devtools#429
Sorry, something went wrong.
No branches or pull requests
How to reproduce:
actual
expected
The text was updated successfully, but these errors were encountered: