Browse Source

Added external types to ds+ schemas

master
Mel O'Hagan 4 years ago
parent
commit
ba0916d161
  1. 1
      packages/server/src/integrations/mysql.ts
  2. 1
      packages/server/src/integrations/postgres.ts

1
packages/server/src/integrations/mysql.ts

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

1
packages/server/src/integrations/postgres.ts

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

Loading…
Cancel
Save