Groups
Groups
Sign in
Groups
Groups
django-extensions
Conversations
About
Send feedback
Help
sqldiff produces invalid code for MySQL UNIQUE
21 views
Skip to first unread message
Mikhail Simin
unread,
Apr 28, 2014, 8:37:14 PM
4/28/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-e...@googlegroups.com
I ran sqldiff on one of my models and it produced the following:
ALTER TABLE `data_accuweatherlocation`
ADD COLUMN UNIQUE (`locationid`);
the COLUMN word should not be present to create this constraint.
trbs
unread,
Apr 29, 2014, 5:15:00 AM
4/29/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-e...@googlegroups.com
Thanks for the report !
Could you create a ticket for this on Github ?
Regards,
Trbs
trbs
unread,
Apr 29, 2014, 11:18:47 AM
4/29/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-e...@googlegroups.com
Seems this was wrong for PostGreSQL and SQLite as well.
Fix has been committed, thanks for the report !
Reply all
Reply to author
Forward
0 new messages