Update 7.0.0-8.0.0.sql

This commit is contained in:
BENKE Charlene 2018-05-12 17:55:14 +02:00 committed by GitHub
parent 468635867d
commit fcf6ab6ee5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,6 +44,7 @@ ALTER TABLE llx_website_page ADD COLUMN type_container varchar(16) NOT NULL DEFA
DROP TABLE llx_c_accountancy_category;
DROP TABLE llx_c_accountingaccount;
update llx_propal set fk_statut = 1 where fk_statut = -1;
ALTER TABLE llx_inventory ADD COLUMN fk_user_creat integer;
@ -79,6 +80,10 @@ INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUE
-- For 8.0
ALTER TABLE llx_user ADD COLUMN dateemploymentend date after dateemployment;
-- delete old permission no more used
DELETE FROM llx_rights_def WHERE perms = 'main' and module = 'commercial';