summaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2011-10-06 14:55:18 -0700
committerJesse Morgan <jesse@jesterpm.net>2017-09-04 11:16:53 -0700
commitfa9a4f7eb160fc435dc34c493e6822d2fbb7e484 (patch)
tree3f0abf30ba7ba35089f44fc4acf29437095b65b7 /design
parentb025f5ea3b560b9c66625a9f3112b26d48611b94 (diff)
Completed schedule iterator and almost completed exception iterator. Still need to add the 'Add Exception' page and make use of the schedule in the moderator email code.
Diffstat (limited to 'design')
-rw-r--r--design/database.sql4
1 files changed, 3 insertions, 1 deletions
diff --git a/design/database.sql b/design/database.sql
index b908bc0..60b7006 100644
--- a/design/database.sql
+++ b/design/database.sql
@@ -105,8 +105,10 @@ CREATE TABLE moderator_exceptions (
year INTEGER UNSIGNED NOT NULL,
week TINYINT UNSIGNED NOT NULL,
user_id INTEGER UNSIGNED NOT NULL,
+ substitute INTEGER UNSIGNED NOT NULL,
- PRIMARY KEY(year, week)
+
+ PRIMARY KEY(year, week, user_id)
);