Fix typo
bzr revid: ced-e642ad70ec59528e5bb9abd3333740534932d5de
This commit is contained in:
parent
88f90e4776
commit
9ea107b063
|
@ -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()
|
||||
|
||||
# ------------------------------------ #
|
||||
|
|
Loading…
Reference in New Issue