Database diagrams editor that allows you to visualize and design your DB with a single query.
TypeScript databasedbdb-migrationeditorerdmariadbmssqlmysqlpostgresqlreactreact-flowschema-migrationssqlsqlitetypescriptvisualizationxyflow
fix: add timestampz and int as datatypes to postgres (#940)
Jonathan Fishnerb15bc945acb9
diff --git a/src/lib/data/data-types/postgres-data-types.ts b/src/lib/data/data-types/postgres-data-types.tsindex 0c85058f..81a68061 100644--- a/src/lib/data/data-types/postgres-data-types.ts+++ b/src/lib/data/data-types/postgres-data-types.ts@@ -12,6 +12,7 @@ export const postgresDataTypes: readonly DataTypeData[] = [{ name: 'text', id: 'text', usageLevel: 1 },{ name: 'boolean', id: 'boolean', usageLevel: 1 },{ name: 'timestamp', id: 'timestamp', usageLevel: 1 },+ { name: 'timestamptz', id: 'timestamptz', usageLevel: 1 },{ name: 'date', id: 'date', usageLevel: 1 },// Level 2 - Second most common types@@ -42,6 +43,7 @@ export const postgresDataTypes: readonly DataTypeData[] = [id: 'timestamp_with_time_zone',usageLevel: 2,},+ { name: 'int', id: 'int', usageLevel: 2 },// Less common types{