Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add missing unsigned property to decimal datatypes#883

Open
Jadu07 wants to merge 2 commits intodrawdb-io:mainfrom
Jadu07:fix/decimal-unsigned
Open

Add missing unsigned property to decimal datatypes#883
Jadu07 wants to merge 2 commits intodrawdb-io:mainfrom
Jadu07:fix/decimal-unsigned

Conversation

@Jadu07
Copy link
Contributor

@Jadu07 Jadu07 commented Feb 28, 2026

fixes #878

This pull request fixes an issue where the UNSIGNED option was only available for integer types, even though MySQL and MariaDB also support it for DECIMAL, NUMERIC, FLOAT, and DOUBLE, which caused schemas using unsigned decimal-based fields to be exported incorrectly, the update makes UNSIGNED available for all supported numeric types in both the builder UI and the generated SQL, ensuring correct and expected schema exports.

To resolve this, the signed: true property has been added to the DECIMAL, NUMERIC, FLOAT, and DOUBLE type definitions under mysqlTypesBase in src/data/datatypes.js, allowing the Unsigned toggle to appear correctly in the field configuration UI and ensuring the UNSIGNED keyword is properly included in SQL generated by the export utilities.

@vercel
Copy link

vercel bot commented Feb 28, 2026

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

A member of the Team first needs to authorize it.

@Jadu07
Copy link
Contributor Author

Jadu07 commented Mar 2, 2026

@1ilit pls review this pr

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.

DECIMAL datatype does not have UNSIGNED option

1 participant