[p4dti-discussion] Problem upgrading database schema from

Jason D. Byttow jasondb at CollectiveStudios.Com
Fri Aug 17 00:07:07 BST 2007


It seems that these commands do not work because there is no space in
either of the two sql commands.

 

'4': ('5', ['alter table p4dti_replications'
 
                    '_add completed int not null default 0',
 
                    'update p4dti_replications set completed=1'
 
                    '_where end >= start']),

 

Where I added underlines is where spaces are required. After doing so
the DB upgrade worked just fine.

 

Jason Byttow

The Collective Inc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ravenbrook.com/pipermail/p4dti-discussion/attachments/20070816/0a30f86f/attachment.html 


More information about the P4DTI-discussion mailing list