Skip to content

feat: add UNSIGNED support for DECIMAL/NUMERIC/FLOAT/DOUBLE and GEOGR…#945

Open
VeerShah41 wants to merge 2 commits intodrawdb-io:mainfrom
VeerShah41:fix/decimal-unsigned-and-geography-type
Open

feat: add UNSIGNED support for DECIMAL/NUMERIC/FLOAT/DOUBLE and GEOGR…#945
VeerShah41 wants to merge 2 commits intodrawdb-io:mainfrom
VeerShah41:fix/decimal-unsigned-and-geography-type

Conversation

@VeerShah41
Copy link
Contributor

…APHY type

Closes #880
Closes #878

  • Add signed: true to DECIMAL, NUMERIC, FLOAT, and DOUBLE in mysqlTypesBase so the UNSIGNED checkbox appears in the UI for MySQL and MariaDB (which inherits from MySQL types). MySQL/MariaDB both support UNSIGNED for these numeric types.

  • Add GEOGRAPHY to postgresTypesBase following the same pattern as other PostGIS/geometric types (POINT, LINE, POLYGON, etc.), using geometricColor and noDefault: true. GEOGRAPHY is a core type for the widely-used PostGIS extension.

…APHY type

Closes drawdb-io#880
Closes drawdb-io#878

- Add `signed: true` to DECIMAL, NUMERIC, FLOAT, and DOUBLE in
  mysqlTypesBase so the UNSIGNED checkbox appears in the UI for MySQL
  and MariaDB (which inherits from MySQL types). MySQL/MariaDB both
  support UNSIGNED for these numeric types.

- Add GEOGRAPHY to postgresTypesBase following the same pattern as
  other PostGIS/geometric types (POINT, LINE, POLYGON, etc.), using
  geometricColor and noDefault: true. GEOGRAPHY is a core type for
  the widely-used PostGIS extension.
@vercel
Copy link

vercel bot commented Mar 7, 2026

@VeerShah41 is attempting to deploy a commit to the dottle's projects Team on Vercel.

A member of the Team first needs to authorize it.

@VeerShah41
Copy link
Contributor Author

Hi @1ilit,

I’ve opened this PR addressing issues #880 and #878.

Changes included:

  • Added signed: true for DECIMAL, NUMERIC, FLOAT, and DOUBLE in mysqlTypesBase so the UNSIGNED option appears in the UI for MySQL/MariaDB.
  • Added the GEOGRAPHY type to postgresTypesBase, similar to other PostGIS/geometric types.

Could you please take a look and let me know if any changes are needed?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] ADD data type GEOGRAPHY DECIMAL datatype does not have UNSIGNED option

1 participant