source: trunk/install/upgrades/0.9.5.sql @ 1025

Revision 1025, 731 bytes checked in by benjamin, 7 years ago (diff)

force https parameter, Closes #71

Line 
1-- Pour les durées de comptes
2ALTER IGNORE TABLE membres ADD COLUMN created datetime default NULL AFTER type;
3ALTER IGNORE TABLE membres ADD COLUMN renewed datetime default NULL AFTER created;
4ALTER IGNORE TABLE membres ADD COLUMN duration int(4) default NULL AFTER renewed;
5
6-- Pour l'encryptage des mots de passe ftp
7ALTER IGNORE TABLE ftpusers ADD COLUMN encrypted_password VARCHAR(32) default NULL AFTER password;
8UPDATE ftpusers SET encrypted_password=ENCRYPT(password) WHERE password!='';
9
10-- Force le bureau https si voulu :
11INSERT INTO variable SET name='force_https', value='0', comment='Shall we force the users to access the managment desktop through HTTPS only ? If this value is true, HTTPS access will be forced. ';
Note: See TracBrowser for help on using the repository browser.