Added external types to ds+ schemas

This commit is contained in:
Mel O'Hagan 2022-06-20 18:08:30 +01:00
parent 0b14e1bad1
commit ba0916d161
2 changed files with 2 additions and 0 deletions

View File

@ -232,6 +232,7 @@ module MySQLModule {
autocolumn: isAuto,
constraints,
...convertSqlType(column.Type),
externalType: column.Type,
}
}
if (!tables[tableName]) {

View File

@ -271,6 +271,7 @@ module PostgresModule {
autocolumn: isAuto,
name: columnName,
...convertSqlType(column.data_type),
externalType: column.data_type,
}
}