Do not fail if account_account_code_uniq does not exist when trying to drop it.

This commit is contained in:
Albert Cervera i Areny 2019-06-16 22:08:17 +02:00
parent a813ef4713
commit 9d4dfa50bd
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ before:
- comment: drop constraint, new ones applied on module
version: 5.1
query: alter table account_account drop constraint account_account_code_uniq;
query: ALTER TABLE account_account DROP CONSTRAINT IF EXISTS account_account_code_uniq;
- comment: # copy to migrate default values, must be dropped
version: 4.8