mason/common/autohandler: Add an AGPL link to the HTML header.
[odin-cgi] / sql / setup-mail.sql
index e1b535c..01c226f 100644 (file)
@@ -1,6 +1,27 @@
 /* -*-sql-*-
  *
  * Plain old SQL for setting up the tables for Odin mail redirection.
 /* -*-sql-*-
  *
  * Plain old SQL for setting up the tables for Odin mail redirection.
+ *
+ * (c) 2015 Mark Wooding
+ */
+
+/*----- Licensing notice ----------------------------------------------------
+ *
+ * This file is part of the `odin.gg' service, `odin-cgi'.
+ *
+ * `odin-cgi' is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation; either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * `odin-cgi' is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public
+ * License along with `odin-cgi'; if not, see
+ * <http://www.gnu.org/licenses/>.
  */
 
 /* The various tools assume that the database is appropriate configured with
  */
 
 /* The various tools assume that the database is appropriate configured with
@@ -16,6 +37,7 @@ create table odin_mailredir
        (lpart varchar(64) not null,
         dom varchar(128) not null,
         owner varchar(64) not null,
        (lpart varchar(64) not null,
         dom varchar(128) not null,
         owner varchar(64) not null,
+        creator varchar(64) not null,
         recip text not null default '',
         expire bigint not null,
         st varchar(16) not null default 'live',
         recip text not null default '',
         expire bigint not null,
         st varchar(16) not null default 'live',