chiark / gitweb /
d771c7aafd6a30037c0c060e84287b81dca3d4da
[odin-cgi] / sql / update-mail-v2.sql
1 /* -*-sql-*-
2  *
3  * Plain old SQL for setting up the tables for Odin mail redirection.
4  */
5
6 begin;
7 alter table odin_mailredir add column creator varchar(64);
8 update odin_mailredir set creator = owner where creator is null;
9 alter table odin_mailredir alter column creator set not null;
10 commit;