bzr revid: ced-e642ad70ec59528e5bb9abd3333740534932d5de
This commit is contained in:
ced 2007-09-20 08:48:00 +00:00
parent 88f90e4776
commit 9ea107b063
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ cr.commit()
cr.execute('SELECT conname FROM pg_constraint where conname = \'stock_production_lot_name_uniq\'')
if cr.fetchall():
cr.execute('ALTER TABLE stock_production_lot DROP CONSTRAINT \'stock_production_lot_name_uniq\'')
cr.execute('ALTER TABLE stock_production_lot DROP CONSTRAINT stock_production_lot_name_uniq')
cr.commit()
# ------------------------------------ #