Permalink
Browse files

Adding seen_at and durable for notifications.

  • Loading branch information...
1 parent 8ccbd60 commit 6dbc72acc259355eb122b271b308adb265664f8e @simonwex simonwex committed Jun 22, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 config/database/schema.sql
@@ -3,7 +3,9 @@ CREATE TABLE stories (
id VARCHAR(255) NOT NULL,
data TEXT NOT NULL,
user_id INT NOT NULL,
- published_at DATETIME NOT NULL,
+ published_at DATETIME NOT NULL,
+ seen_at DATETIME NULL,
+ durable BOOLEAN DEFAULT 0,
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (id, user_id),

0 comments on commit 6dbc72a

Please sign in to comment.