1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/noalyss_ynh.git synced 2024-09-03 19:46:20 +02:00
noalyss_ynh/sources/noalyss-6.9.0.0/html/admin/sql/patch/ac-upgrade13.sql
Laurent Peuch fce579e032 init
2015-09-27 00:42:21 +02:00

11 lines
459 B
PL/PgSQL

begin;
-- Check: valid_state
ALTER TABLE audit_connect DROP CONSTRAINT valid_state;
ALTER TABLE audit_connect ADD CONSTRAINT valid_state CHECK (ac_state = 'FAIL'::text OR ac_state = 'SUCCESS'::text or ac_state='AUDIT');
-- run to the account_repository
insert into theme values ('EPad','style-epad.css',null);
update priv_user set priv_priv='R' where priv_priv='L';
update priv_user set priv_priv='R' where priv_priv='P';
update version set val=14;
commit;