mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] only drop column if it exists
This commit is contained in:
@@ -7,4 +7,4 @@ def migrate(cr, version):
|
||||
if not version:
|
||||
return
|
||||
|
||||
cr.execute('ALTER TABLE res_partner_bank DROP COLUMN acc_type')
|
||||
cr.execute('ALTER TABLE res_partner_bank DROP COLUMN IF EXISTS acc_type')
|
||||
|
||||
Reference in New Issue
Block a user