Re: [SQLObject] removing a unique constraint
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2011-07-12 10:23:16
|
On Tue, Jul 12, 2011 at 12:05:40AM +0100, Timothy W. Grove wrote: > I now would like to remove the unique constraint on the 'lang1' column. > How would I do this? Thanks. SQLObject can only add/drop column, explicit indices and joins. Unique constraint creates an implicit index which SQLObject doesn't know about and cannot drop. You are to drop it yourself - list indices for your table and issue DROP INDEX. Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |