bug with sqlite and add index or unique fields

4 views
Skip to first unread message

Black Hand

unread,
May 14, 2008, 5:03:18 PM5/14/08
to deseb-discuss, yo...@consultorianet.com
Hi

a was using deseb with postgresql almost without problems

for a new project we are doing the dev with sqlite (more faster dev
time)

some problems happens when we add for example a foreign key to a model

the problem was that the sql generated for sqlite add the index
instruction before the table recreation

obviously is trying to add an index to a field that yet dont exist.

we do a change in the deseb code (schema-evolution.py file)

where we can put the patch or the new schema-evolution file ?

thx in advance

--
Yonsy Solis
Consultoria Net

Yuri Baburov

unread,
May 14, 2008, 6:20:48 PM5/14/08
to deseb-...@googlegroups.com
i'll update code with your patch soon, big refactoring is on the way.

--
Best regards, Yuri V. Baburov, ICQ# 99934676, Skype: yuri.baburov,
MSN: bu...@live.com

Reply all
Reply to author
Forward
0 new messages