|
|
@@ -472,18 +472,23 @@ SQL;
|
|
|
// strings
|
|
|
[
|
|
|
'title',
|
|
|
+ ['type' => 'string', 'length' => 25, 'null' => true, 'default' => null],
|
|
|
+ '`title` VARCHAR(25)',
|
|
|
+ ],
|
|
|
+ [
|
|
|
+ 'title',
|
|
|
['type' => 'string', 'length' => 25, 'null' => false],
|
|
|
'`title` VARCHAR(25) NOT NULL'
|
|
|
],
|
|
|
[
|
|
|
'title',
|
|
|
['type' => 'string', 'length' => 25, 'null' => true, 'default' => 'ignored'],
|
|
|
- '`title` VARCHAR(25) DEFAULT NULL'
|
|
|
+ '`title` VARCHAR(25) DEFAULT \'ignored\'',
|
|
|
],
|
|
|
[
|
|
|
- 'id',
|
|
|
- ['type' => 'string', 'length' => 32, 'fixed' => true, 'null' => false],
|
|
|
- '`id` CHAR(32) NOT NULL'
|
|
|
+ 'title',
|
|
|
+ ['type' => 'string', 'length' => 25, 'null' => true, 'default' => ''],
|
|
|
+ '`title` VARCHAR(25) DEFAULT \'\'',
|
|
|
],
|
|
|
[
|
|
|
'role',
|
|
|
@@ -491,6 +496,11 @@ SQL;
|
|
|
'`role` VARCHAR(10) NOT NULL DEFAULT \'admin\''
|
|
|
],
|
|
|
[
|
|
|
+ 'id',
|
|
|
+ ['type' => 'string', 'length' => 32, 'fixed' => true, 'null' => false],
|
|
|
+ '`id` CHAR(32) NOT NULL'
|
|
|
+ ],
|
|
|
+ [
|
|
|
'title',
|
|
|
['type' => 'string'],
|
|
|
'`title` VARCHAR(255)'
|