Can't create UNIQUE constraints with column name of`group` in sqlite #4407
Labels
Comments
StefanoDalpiaz
added a commit
to StefanoDalpiaz/sequelize
that referenced
this issue
Feb 8, 2017
StefanoDalpiaz
added a commit
to StefanoDalpiaz/sequelize
that referenced
this issue
Feb 8, 2017
StefanoDalpiaz
added a commit
to StefanoDalpiaz/sequelize
that referenced
this issue
Feb 9, 2017
StefanoDalpiaz
added a commit
to StefanoDalpiaz/sequelize
that referenced
this issue
Feb 9, 2017
StefanoDalpiaz
added a commit
to StefanoDalpiaz/sequelize
that referenced
this issue
Feb 19, 2017
StefanoDalpiaz
added a commit
to StefanoDalpiaz/sequelize
that referenced
this issue
Feb 19, 2017
sushantdhiman
added a commit
that referenced
this issue
Feb 22, 2017
mkaufmaner
added a commit
to mkaufmaner/sequelize
that referenced
this issue
Apr 25, 2017
…sequelize#4407) (sequelize#7224) * Add quotes around column names for unique constraints in sqlite (fixes sequelize#4407) * Changelog linked to issue
holm
added a commit
to holm/sequelize
that referenced
this issue
Nov 13, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've created a table with a column, named
group
, and there's aUNIQUE
constraint on it. It works on postgres, but will fail on sqlite. The SQL statement isHowever the correct SQL should be as below, which needs column names in
UNIQUE
to be quoted.May you help to fix the issue, thank you.
Table definition:
The text was updated successfully, but these errors were encountered: