Update llx_adherent.sql
This commit is contained in:
parent
dc9d8336f5
commit
7d000e4c9f
@ -20,9 +20,9 @@
|
|||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
--
|
--
|
||||||
-- statut
|
-- statut
|
||||||
-- -1 : brouillon
|
-- -1 : draft / brouillon
|
||||||
-- 0 : resilie
|
-- 0 : canceled / resilie
|
||||||
-- 1 : valide
|
-- 1 : valid / valide
|
||||||
|
|
||||||
create table llx_adherent
|
create table llx_adherent
|
||||||
(
|
(
|
||||||
@ -39,7 +39,7 @@ create table llx_adherent
|
|||||||
pass varchar(50), -- password
|
pass varchar(50), -- password
|
||||||
pass_crypted varchar(128),
|
pass_crypted varchar(128),
|
||||||
fk_adherent_type integer NOT NULL,
|
fk_adherent_type integer NOT NULL,
|
||||||
morphy varchar(3) NOT NULL, -- personne morale / personne physique
|
morphy varchar(3) NOT NULL, -- EN: legal entity / natural person FR: personne morale / personne physique
|
||||||
societe varchar(128), -- company name (should be same length than societe.name). No more used.
|
societe varchar(128), -- company name (should be same length than societe.name). No more used.
|
||||||
fk_soc integer NULL, -- Link to third party linked to member
|
fk_soc integer NULL, -- Link to third party linked to member
|
||||||
address text,
|
address text,
|
||||||
@ -64,20 +64,20 @@ create table llx_adherent
|
|||||||
phone varchar(30),
|
phone varchar(30),
|
||||||
phone_perso varchar(30),
|
phone_perso varchar(30),
|
||||||
phone_mobile varchar(30),
|
phone_mobile varchar(30),
|
||||||
birth date, -- birthday
|
birth date, -- birthday
|
||||||
photo varchar(255), -- filename or url of photo
|
photo varchar(255), -- filename or url of photo
|
||||||
statut smallint NOT NULL DEFAULT 0,
|
statut smallint NOT NULL DEFAULT 0,
|
||||||
public smallint NOT NULL DEFAULT 0, -- certain champ de la fiche sont ils public ou pas ?
|
public smallint NOT NULL DEFAULT 0, -- certain champ de la fiche sont ils public ou pas ?
|
||||||
datefin datetime, -- date de fin de validite de la cotisation
|
datefin datetime, -- end date of validity of the contribution / date de fin de validite de la cotisation
|
||||||
note_private text DEFAULT NULL,
|
note_private text DEFAULT NULL,
|
||||||
note_public text DEFAULT NULL,
|
note_public text DEFAULT NULL,
|
||||||
model_pdf varchar(255),
|
model_pdf varchar(255),
|
||||||
datevalid datetime, -- date de validation
|
datevalid datetime, -- date of validation
|
||||||
datec datetime, -- date de creation
|
datec datetime, -- date of creation
|
||||||
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, -- last modification date
|
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, -- last modification date
|
||||||
fk_user_author integer, -- can be null because member can be create by a guest
|
fk_user_author integer, -- can be null because member can be create by a guest
|
||||||
fk_user_mod integer,
|
fk_user_mod integer,
|
||||||
fk_user_valid integer,
|
fk_user_valid integer,
|
||||||
canvas varchar(32), -- type of canvas if used (null by default)
|
canvas varchar(32), -- type of canvas if used (null by default)
|
||||||
import_key varchar(14) -- Import key
|
import_key varchar(14) -- Import key
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user