Skip to content

Commit

Permalink
Remove usage of SQLite column
Browse files Browse the repository at this point in the history
  • Loading branch information
arogachev committed Apr 30, 2023
1 parent 29cc6cf commit d4db913
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/SchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

use InvalidArgumentException;
use Yiisoft\Db\Connection\ConnectionInterface;
use Yiisoft\Db\Schema\SchemaInterface;
use Yiisoft\Db\Sqlite\Column;
use Yiisoft\Rbac\SchemaManagerInterface;
use Yiisoft\Rbac\SchemaManagerTrait;

Expand Down Expand Up @@ -46,7 +44,7 @@ public function createItemsTable(): void
->createTable(
$this->itemsTable,
[
'name' => (new Column(SchemaInterface::TYPE_STRING, 128))->notNull()->append('PRIMARY KEY'),
'name' => 'string(128) NOT NULL PRIMARY KEY',
'type' => 'string(10) NOT NULL',
'description' => 'string(191)',
'ruleName' => 'string(64)',
Expand Down

0 comments on commit d4db913

Please sign in to comment.