Permalink
Browse files

Fixed typo in groups table creation.

Signed-off-by: Joe Baker <jbaker0428@gmail.com>
  • Loading branch information...
1 parent 8b029f5 commit e2bff551f328a6a683683fb174f2c5fc1e12f7e2 @jbaker0428 committed Apr 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 gc_attendance.py
View
@@ -38,7 +38,7 @@ def createTables(self):
cur.execute('''CREATE TABLE IF NOT EXISTS groups
(id INTEGER PRIMARY KEY,
- organization TEXT REFERENCES organizations(name) ON DELETE CASCADE ON UPDATE CASCAD,
+ organization TEXT REFERENCES organizations(name) ON DELETE CASCADE ON UPDATE CASCADE,
semester TEXT NOT NULL REFERENCES semesters(name) ON DELETE CASCADE ON UPDATE CASCADE)''')
cur.execute('''CREATE TABLE IF NOT EXISTS group_memberships

0 comments on commit e2bff55

Please sign in to comment.