From 44b4baa0ca43e78b92b08c57e86df13b5736bfaf Mon Sep 17 00:00:00 2001
From: friendica <info@friendica.com>
Date: Sun, 1 Jan 2012 00:39:22 -0800
Subject: notification data type

---
 database.sql | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

(limited to 'database.sql')

diff --git a/database.sql b/database.sql
index e96aff4b7..65ff3b9d0 100644
--- a/database.sql
+++ b/database.sql
@@ -731,3 +731,21 @@ CREATE TABLE IF NOT EXISTS `conv` (
   INDEX ( `created` ),
   INDEX ( `updated` )
 ) ENGINE = MyISAM DEFAULT CHARSET=utf8;
+
+
+CREAT TABLE IF NOT EXISTS `notify` (
+`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
+`type` INT( 11 ) NOT NULL ,
+`name` CHAR( 255 ) NOT NULL ,
+`url` CHAR( 255 ) NOT NULL ,
+`photo` CHAR( 255 ) NOT NULL ,
+`date` DATETIME NOT NULL ,
+`msg` MEDIUMTEXT NOT NULL ,
+`uid` INT NOT NULL ,
+`link` CHAR( 255 ) NOT NULL ,
+`seen` TINYINT( 1 ) NOT NULL DEFAULT '0',
+INDEX ( `type` ),
+INDEX ( `uid` ),
+INDEX ( `seen` ),
+INDEX ( `date` )
+) ENGINE = MyISAM DEFAULT CHARSET=utf8;
-- 
cgit v1.2.3

