first reimport from platal
[platal.git] / upgrade / 0.9.6 / 00_xnet.sql
1 update groupex.asso set nom=replace(nom, '<small>', '');
2 update groupex.asso set nom=replace(nom, '</small>', '');
3
4 alter table groupex.asso drop column m_list;
5 alter table groupex.asso change column nom nom CHAR(255) not null;
6 alter table groupex.asso change column diminutif diminutif CHAR(64) not null;
7 alter table groupex.asso change column site site CHAR(255) not null;
8 alter table groupex.asso change column mail mail CHAR(255) not null;
9 alter table groupex.asso change column resp resp CHAR(255) not null;
10 alter table groupex.asso change column forum forum CHAR(255) not null;
11 alter table groupex.asso change column mail_domain mail_domain CHAR(255) not null;
12 alter table groupex.asso add unique index (diminutif);
13 alter table groupex.asso add column sub_url char(255) not null;
14
15 alter table groupex.membres change column uid uid int not null;
16
17 update groupex.asso set sub_url='http://www2.x-consult.org/xconsult/register.php' where diminutif = 'X-Mines-Consult';
18