We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug exportToJson('full') create strange syntax when sqlite table is create with UNIQUE in CREATE TABLE
exportToJson('full')
UNIQUE
CREATE TABLE
CREATE TABLE table1( ... UNIQUE(column1, column2) );
resulting json
{ "column": "UNIQUE(column1§", "value": "column2)" }
To Reproduce
Expected behavior A synxtax that is valid for import.
Desktop (please complete the following information):
Additional context
relevant part of package.json
"@capacitor-community/sqlite": "^5.7.2", "jeep-sqlite": "^2.7.1",
Work around
Use CREATE UNIQUE INDEX table1_unique_index ON table1(column1, column2) syntax instead
CREATE UNIQUE INDEX table1_unique_index ON table1(column1, column2)
EDIT: add UNIQUE to create index
The text was updated successfully, but these errors were encountered:
@twnaing the way to do it till i made the fix is "CONSTRAINT CUN_column1_column2 UNIQUE (column1, column2)"
Sorry, something went wrong.
@twnaing has been fixed in v5.7.3
No branches or pull requests
Describe the bug
exportToJson('full')
create strange syntax when sqlite table is create withUNIQUE
inCREATE TABLE
resulting json
To Reproduce
Expected behavior
A synxtax that is valid for import.
Desktop (please complete the following information):
Additional context
relevant part of package.json
Work around
Use
CREATE UNIQUE INDEX table1_unique_index ON table1(column1, column2)
syntax insteadEDIT: add
UNIQUE
to create indexThe text was updated successfully, but these errors were encountered: