Skip to content
This repository
Browse code

Adding seen_at and durable for notifications.

  • Loading branch information...
commit 6dbc72acc259355eb122b271b308adb265664f8e 1 parent 8ccbd60
Simon Wex simonwex authored

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +3 1 config/database/schema.sql
4 config/database/schema.sql
@@ -3,7 +3,9 @@ CREATE TABLE stories (
3 3 id VARCHAR(255) NOT NULL,
4 4 data TEXT NOT NULL,
5 5 user_id INT NOT NULL,
6   - published_at DATETIME NOT NULL,
  6 + published_at DATETIME NOT NULL,
  7 + seen_at DATETIME NULL,
  8 + durable BOOLEAN DEFAULT 0,
7 9 created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
8 10
9 11 PRIMARY KEY (id, user_id),

0 comments on commit 6dbc72a

Please sign in to comment.
Something went wrong with that request. Please try again.