Added external types to ds+ schemas

This commit is contained in:
Mel O'Hagan 2022-06-20 18:08:30 +01:00
parent b3308b09d4
commit a888d9a273
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,
}
}