Skip to content
Snippets Groups Projects
Commit a2634744 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Try to fix a missing field

parent 2146ab0c
No related branches found
No related tags found
No related merge requests found
...@@ -444,6 +444,7 @@ ALTER TABLE llx_extrafields ADD COLUMN elementtype varchar(64) NOT NULL DEFAULT ...@@ -444,6 +444,7 @@ ALTER TABLE llx_extrafields ADD COLUMN elementtype varchar(64) NOT NULL DEFAULT
ALTER TABLE llx_extrafields ADD UNIQUE INDEX uk_extrafields_name (name, entity, elementtype); ALTER TABLE llx_extrafields ADD UNIQUE INDEX uk_extrafields_name (name, entity, elementtype);
ALTER TABLE llx_adherent_options rename to llx_adherent_extrafields; ALTER TABLE llx_adherent_options rename to llx_adherent_extrafields;
ALTER TABLE llx_adherent_extrafields CHANGE COLUMN fk_member fk_object integer NOT NULL; ALTER TABLE llx_adherent_extrafields CHANGE COLUMN fk_member fk_object integer NOT NULL;
alter table llx_extrafields add column type varchar(8);
-- drop tables renamed into llx_advanced_extra_xxx -- drop tables renamed into llx_advanced_extra_xxx
drop table llx_extra_fields_options; drop table llx_extra_fields_options;
......
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
-- VPGSQL8.2 DELETE FROM llx_usergroup_user WHERE fk_user NOT IN (SELECT rowid from llx_user); -- VPGSQL8.2 DELETE FROM llx_usergroup_user WHERE fk_user NOT IN (SELECT rowid from llx_user);
-- VMYSQL4.1 DELETE FROM llx_usergroup_user WHERE fk_usergroup NOT IN (SELECT rowid from llx_usergroup); -- VMYSQL4.1 DELETE FROM llx_usergroup_user WHERE fk_usergroup NOT IN (SELECT rowid from llx_usergroup);
alter table llx_extrafields add column type varchar(8);
UPDATE llx_c_paper_format SET active=1 WHERE active=0; UPDATE llx_c_paper_format SET active=1 WHERE active=0;
ALTER TABLE llx_actioncomm ADD COLUMN ref_ext varchar(128) after id; ALTER TABLE llx_actioncomm ADD COLUMN ref_ext varchar(128) after id;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment