We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eba8ab5 commit ae0cd50Copy full SHA for ae0cd50
1 file changed
tests/WP_SQLite_Translator_Tests.php
@@ -1258,7 +1258,7 @@ public function testTypeKeywordsAsKeyNames() {
1258
'CREATE TABLE `_tmp_table` (
1259
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
1260
`timestamp` datetime NOT NULL,
1261
- `numeric` int(11) NOT NULL,
+ `INDEX` timestamp,
1262
PRIMARY KEY (`id`),
1263
KEY `timestamp` (`timestamp`),
1264
KEY numeric (numeric)
@@ -1284,11 +1284,11 @@ public function testTypeKeywordsAsKeyNames() {
1284
'Extra' => '',
1285
),
1286
(object) array(
1287
- 'Field' => 'numeric',
1288
- 'Type' => 'int(11)',
1289
- 'Null' => 'NO',
+ 'Field' => 'INDEX',
+ 'Type' => 'timestamp',
+ 'Null' => 'YES',
1290
'Key' => '',
1291
- 'Default' => '0',
+ 'Default' => null,
1292
1293
1294
0 commit comments