pgsql/update_tables_0.5.x_for_dovecot-1.2.x.pgsql
branchv0.6.x
changeset 296 62211b6a9b8e
parent 295 18086c6a2521
child 297 e21ceaabe871
equal deleted inserted replaced
295:18086c6a2521 296:62211b6a9b8e
     1 -- ---
       
     2 -- with Dovecot v1.2.x the service managesieve was renamed to sieve
       
     3 -- ---
       
     4 ALTER TABLE users RENAME managesieve TO sieve;
       
     5 
       
     6 DROP VIEW dovecot_password;
       
     7 CREATE OR REPLACE VIEW dovecot_password AS
       
     8     SELECT local_part || '@' || domain_name.domainname AS "user",
       
     9            passwd AS "password", smtp, pop3, imap, sieve
       
    10       FROM users
       
    11            LEFT JOIN domain_name USING (gid);
       
    12