This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
TODO on change
ALTER TABLE login ALTER createat TYPE timestamptz;
ALTER TABLE login ALTER lastloginat TYPE timestamptz;
BEGIN;
insert into host_web_httpaccess (web,login) (select id,unnest(httpaccess) from host_web);
ALTER TABLE host_web DROP httpaccess;
insert into host_web_ftpaccess (web,login) (select id,unnest(ftp) from host_web);
ALTER TABLE host_web DROP ftp;
insert into host_mail_forward (mail,"to") (select id,unnest(forward) from host_mail);
ALTER TABLE host_mail DROP forward;
COMMIT;