aboutsummaryrefslogtreecommitdiffstats
path: root/database.sql
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-01-01 00:39:22 -0800
committerfriendica <info@friendica.com>2012-01-01 00:39:22 -0800
commit44b4baa0ca43e78b92b08c57e86df13b5736bfaf (patch)
treeb4a48ece41c3197e865189672996a58702051e56 /database.sql
parent3e162bcf8f4c08d197f9507dd6daa56cf6104a4e (diff)
downloadvolse-hubzilla-44b4baa0ca43e78b92b08c57e86df13b5736bfaf.tar.gz
volse-hubzilla-44b4baa0ca43e78b92b08c57e86df13b5736bfaf.tar.bz2
volse-hubzilla-44b4baa0ca43e78b92b08c57e86df13b5736bfaf.zip
notification data type
Diffstat (limited to 'database.sql')
-rw-r--r--database.sql18
1 files changed, 18 insertions, 0 deletions
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;