Added external types to ds+ schemas
This commit is contained in:
parent
0b14e1bad1
commit
ba0916d161
|
@ -232,6 +232,7 @@ module MySQLModule {
|
||||||
autocolumn: isAuto,
|
autocolumn: isAuto,
|
||||||
constraints,
|
constraints,
|
||||||
...convertSqlType(column.Type),
|
...convertSqlType(column.Type),
|
||||||
|
externalType: column.Type,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!tables[tableName]) {
|
if (!tables[tableName]) {
|
||||||
|
|
|
@ -271,6 +271,7 @@ module PostgresModule {
|
||||||
autocolumn: isAuto,
|
autocolumn: isAuto,
|
||||||
name: columnName,
|
name: columnName,
|
||||||
...convertSqlType(column.data_type),
|
...convertSqlType(column.data_type),
|
||||||
|
externalType: column.data_type,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue