[SCHEMA] Fix a few mistakes

This commit is contained in:
Alexei Sorokin
2020-07-31 18:24:12 +03:00
committed by Diogo Peralta Cordeiro
parent 50dd216f44
commit 573cd7d450
3 changed files with 11 additions and 27 deletions

View File

@@ -371,6 +371,8 @@ class PgsqlSchema extends Schema
foreach ($tableDef['fields'] as $name => &$col) {
// No convenient support for field descriptions
unset($col['description']);
// @fixme Nor for MariaDB-specific collations
unset($col['collate']);
if ($col['type'] === 'serial') {
$col['type'] = 'int';