[DATABASE] Introduce a bool type in schema
PostgreSQL has a clear distinction between integers and booleans, so it makes sense to draw a clear line.
This commit is contained in:
@@ -396,9 +396,9 @@ class MysqlSchema extends Schema
|
||||
function mapType($column)
|
||||
{
|
||||
$map = [
|
||||
'serial' => 'int',
|
||||
'integer' => 'int',
|
||||
'numeric' => 'decimal'
|
||||
'bool' => 'tinyint',
|
||||
'numeric' => 'decimal',
|
||||
];
|
||||
|
||||
$type = $column['type'];
|
||||
|
Reference in New Issue
Block a user