Fix: Try to fix a missing field

This commit is contained in:
Laurent Destailleur 2012-01-09 20:52:14 +01:00
parent 2146ab0cc5
commit a2634744ae
2 changed files with 3 additions and 0 deletions

View File

@ -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_adherent_options rename to llx_adherent_extrafields;
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 table llx_extra_fields_options;

View File

@ -15,6 +15,8 @@
-- 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);
alter table llx_extrafields add column type varchar(8);
UPDATE llx_c_paper_format SET active=1 WHERE active=0;
ALTER TABLE llx_actioncomm ADD COLUMN ref_ext varchar(128) after id;