Fix migration

This commit is contained in:
Laurent Destailleur 2023-09-08 21:23:11 +02:00
parent fb5f4c1dc2
commit f9694498c4
2 changed files with 8 additions and 2 deletions

View file

@ -92,3 +92,9 @@ ALTER TABLE llx_actioncomm ADD COLUMN fk_bookcal_availability integer DEFAULT NU
ALTER TABLE llx_product_lot ADD COLUMN qc_frequency integer DEFAULT NULL;
ALTER TABLE llx_product_lot ADD COLUMN lifetime integer DEFAULT NULL;
ALTER TABLE llx_bookcal_availabilities ADD COLUMN fk_bookcal_calendar integer NOT NULL;
ALTER TABLE llx_bookcal_calendar ADD COLUMN visibility integer NOT NULL DEFAULT 1;

View file

@ -29,8 +29,8 @@ CREATE TABLE llx_bookcal_calendar(
fk_user_creat integer NOT NULL,
fk_user_modif integer,
import_key varchar(14),
status integer NOT NULL,
status integer NOT NULL DEFAULT 0,
type integer NOT NULL,
visibility integer NOT NULL
visibility integer NOT NULL DEFAULT 1
-- END MODULEBUILDER FIELDS
) ENGINE=innodb;