1882 |
)type=innodb; |
)type=innodb; |
1883 |
|
|
1884 |
|
|
1885 |
drop table if exists llx_element_contact; |
drop table if exists llx_contact_facture; |
1886 |
|
|
1887 |
drop table if exists llx_c_type_contact; |
drop table if exists llx_c_type_contact; |
1888 |
|
|
1889 |
create table llx_c_type_contact |
create table llx_c_type_contact |
1903 |
|
|
1904 |
create table llx_element_contact |
create table llx_element_contact |
1905 |
( |
( |
1906 |
rowid integer AUTO_INCREMENT PRIMARY KEY, |
rowid integer AUTO_INCREMENT PRIMARY KEY, |
1907 |
datecreate datetime NULL, -- date de creation de l'enregistrement |
datecreate datetime NULL, -- date de creation de l'enregistrement |
1908 |
statut smallint DEFAULT 5, -- 5 inactif, 4 actif |
statut smallint DEFAULT 5, -- 5 inactif, 4 actif |
|
|
|
1909 |
element_id int NOT NULL, -- la reference de l'element. |
element_id int NOT NULL, -- la reference de l'element. |
1910 |
fk_c_type_contact int NOT NULL, -- nature du contact. |
fk_c_type_contact int NOT NULL, -- nature du contact. |
1911 |
fk_socpeople integer NOT NULL |
fk_socpeople integer NOT NULL |