Skip to content

Commit

Permalink
heavy refactor of notification_sched.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vecna committed Jan 5, 2015
1 parent 7146eea commit f221fa8
Show file tree
Hide file tree
Showing 5 changed files with 419 additions and 455 deletions.
11 changes: 11 additions & 0 deletions backend/globaleaks/db/sqlite.sql
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,17 @@ CREATE TABLE receiver (
FOREIGN KEY(user_id) REFERENCES user(id) ON DELETE CASCADE
);

CREATE TABLE eventlogs (
id VARCHAR NOT NULL,
creation_date VARCHAR NOT NULL,
description VARCHAR NOT NULL,
title VARCHAR NOT NULL,
receiver_id VARCHAR NOT NULL,
mail_sent INTEGER,
PRIMARY KEY (id),
FOREIGN KEY(receiver_id) REFERENCES receiver(id) ON DELETE CASCADE
);

CREATE TABLE receiver_context (
context_id VARCHAR NOT NULL,
receiver_id VARCHAR NOT NULL,
Expand Down

0 comments on commit f221fa8

Please sign in to comment.