mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-31 16:24:33 +00:00
fix: stop remapping bigint to int8 in grid column type display
MySQL users expect "bigint" not PostgreSQL's internal "int8". Removing this mapping keeps the SQL-standard name visible for both databases.
This commit is contained in:
@@ -258,7 +258,6 @@ function shortTypeName(t: string): string {
|
||||
if (s === "boolean") return "bool";
|
||||
if (s === "integer") return "int";
|
||||
if (s === "smallint") return "int2";
|
||||
if (s === "bigint") return "int8";
|
||||
if (s === "real") return "float4";
|
||||
return t;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user