In config.yml, change column types on the appropriate in a previous version because starting 4.0 fields no longer exist.
This commit is contained in:
parent
51b7bff0fd
commit
1f87282a78
|
@ -477,11 +477,11 @@ before:
|
|||
query: ALTER TABLE product_template RENAME column account_category TO accounts_category;
|
||||
|
||||
- comment: # Change cast of month on account_invoice_payment_term_line
|
||||
version: 4.8
|
||||
query: alter table account_invoice_payment_term_line alter COLUMN month type integer using month::int
|
||||
version: 4.0
|
||||
query: ALTER TABLE account_invoice_payment_term_line ALTER COLUMN month TYPE INTEGER USING month::INT
|
||||
- comment: # Change cast of weekday on account_invoice_payment_term_line
|
||||
version: 4.8
|
||||
query: alter table account_invoice_payment_term_line alter COLUMN weekday type integer using weekday::int
|
||||
version: 4.0
|
||||
query: ALTER TABLE account_invoice_payment_term_line ALTER COLUMN weekday TYPE INTEGER USING weekday::INT
|
||||
- comment: # Set Second Currency of account_Account null if it's equal of company currency
|
||||
version: 4.8
|
||||
query: update account_account set second_currency = null where second_currency=(select currency from company_company where id=company)
|
||||
|
|
Loading…
Reference in New Issue