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/html/admin/sql/patch/ac-upgrade13.sql
2015-09-27 00:54:25 +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;