Ajout contrainte unique sur type adherent
This commit is contained in:
parent
2eb5ff506d
commit
0fab397495
@ -13,6 +13,10 @@ ALTER TABLE llx_cotisation ADD UNIQUE INDEX uk_cotisation (fk_adherent,dateadh);
|
||||
update llx_const set name='MAIN_ENABLE_DEVELOPMENT' where name='MAIN_SHOW_DEVELOPMENT_MODULES';
|
||||
|
||||
|
||||
delete from llx_adherent_type where libelle IS NULL;
|
||||
alter table llx_adherent_type modify libelle varchar(50) NOT NULL;
|
||||
|
||||
|
||||
-- Extention de la gestion des catégories
|
||||
alter table llx_categorie ADD type int not null default '0';
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@ create table llx_adherent_type
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
tms timestamp,
|
||||
statut smallint NOT NULL DEFAULT 0,
|
||||
libelle varchar(50),
|
||||
libelle varchar(50) NOT NULL,
|
||||
cotisation enum('yes','no') NOT NULL DEFAULT 'yes',
|
||||
vote enum('yes','no') NOT NULL DEFAULT 'yes',
|
||||
note text,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user