From 285529a532743d52af94d3d571178a413dd944c8 Mon Sep 17 00:00:00 2001
From: Matthias Andreas Benkard <code@mail.matthias.benkard.de>
Date: Tue, 27 Mar 2012 20:14:38 +0200
Subject: Implement BrowserID-based login.

---
 schema.sql | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'schema.sql')

diff --git a/schema.sql b/schema.sql
index a12d549..155c7a2 100644
--- a/schema.sql
+++ b/schema.sql
@@ -21,6 +21,13 @@ CREATE TABLE openids(
   FOREIGN KEY("user") REFERENCES users
 );
 
+CREATE TABLE user_email_addresses(
+  "user"       INTEGER   NOT NULL,
+  email        VARCHAR   NOT NULL,
+  PRIMARY KEY(email),
+  FOREIGN KEY("user") REFERENCES users
+);
+
 CREATE TABLE page_keys(
   "user" INTEGER NOT NULL,
   page   VARCHAR NOT NULL,
-- 
cgit v1.2.3

