mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-21 14:37:21 +01:00
committed by
Carsten Brandt
parent
e1ea227e6d
commit
316e95b81d
@@ -26,11 +26,11 @@ class SqliteQueryBuilderTest extends QueryBuilderTest
|
||||
[Schema::TYPE_STRING . '(32) CHECK (value LIKE "test%")', $this->string(32)->check('value LIKE "test%"'), 'varchar(32) CHECK (value LIKE "test%")'],
|
||||
[Schema::TYPE_STRING . ' NOT NULL', $this->string()->notNull(), 'varchar(255) NOT NULL'],
|
||||
[Schema::TYPE_TEXT, $this->text(), 'text'],
|
||||
[Schema::TYPE_TEXT . '(255)', $this->text(255), 'text'],
|
||||
[Schema::TYPE_TEXT . '(255)', $this->text(), 'text', Schema::TYPE_TEXT],
|
||||
[Schema::TYPE_TEXT . ' CHECK (value LIKE "test%")', $this->text()->check('value LIKE "test%"'), 'text CHECK (value LIKE "test%")'],
|
||||
[Schema::TYPE_TEXT . '(255) CHECK (value LIKE "test%")', $this->text(255)->check('value LIKE "test%"'), 'text CHECK (value LIKE "test%")'],
|
||||
[Schema::TYPE_TEXT . '(255) CHECK (value LIKE "test%")', $this->text()->check('value LIKE "test%"'), 'text CHECK (value LIKE "test%")', Schema::TYPE_TEXT . ' CHECK (value LIKE "test%")'],
|
||||
[Schema::TYPE_TEXT . ' NOT NULL', $this->text()->notNull(), 'text NOT NULL'],
|
||||
[Schema::TYPE_TEXT . '(255) NOT NULL', $this->text(255)->notNull(), 'text NOT NULL'],
|
||||
[Schema::TYPE_TEXT . '(255) NOT NULL', $this->text()->notNull(), 'text NOT NULL', Schema::TYPE_TEXT . ' NOT NULL'],
|
||||
[Schema::TYPE_SMALLINT, $this->smallInteger(), 'smallint'],
|
||||
[Schema::TYPE_SMALLINT . '(8)', $this->smallInteger(8), 'smallint'],
|
||||
[Schema::TYPE_INTEGER, $this->integer(), 'integer'],
|
||||
|
||||
Reference in New Issue
Block a user