Add ip on table llx_adherent (for public submission page)

This commit is contained in:
Laurent Destailleur 2022-08-25 12:09:56 +02:00
parent 4a8b7dbecf
commit eeba47b933
2 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,7 @@ ALTER TABLE llx_user DROP COLUMN idpers3;
-- VPGSQL8.2 ALTER TABLE llx_partnership ALTER COLUMN fk_user_creat DROP NOT NULL;
ALTER TABLE llx_partnership ADD COLUMN ip varchar(250);
ALTER TABLE llx_adherent ADD COLUMN ip varchar(250);
UPDATE llx_const set name = 'ADHERENT_MAILMAN_ADMIN_PASSWORD' WHERE name = 'ADHERENT_MAILMAN_ADMINPW';

View File

@ -82,5 +82,6 @@ create table llx_adherent
fk_user_mod integer,
fk_user_valid integer,
canvas varchar(32), -- type of canvas if used (null by default)
ip varchar(250), -- ip used to create record (for public membership submission page)
import_key varchar(14) -- Import key
)ENGINE=innodb;