From d52f833c5ffac615fefcfe6ad66b69d17939d6bc Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 1 Jan 2012 22:44:03 -0800 Subject: [PATCH] extensible notify structure --- boot.php | 2 +- database.sql | 2 ++ update.php | 9 +++++++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/boot.php b/boot.php index 5b8845a91f..2f32130f5d 100644 --- a/boot.php +++ b/boot.php @@ -11,7 +11,7 @@ require_once('include/cache.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica'); define ( 'FRIENDICA_VERSION', '2.3.1213' ); define ( 'DFRN_PROTOCOL_VERSION', '2.22' ); -define ( 'DB_UPDATE_VERSION', 1113 ); +define ( 'DB_UPDATE_VERSION', 1114 ); define ( 'EOL', "
\r\n" ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); diff --git a/database.sql b/database.sql index 65ff3b9d0c..6dbfdbb371 100644 --- a/database.sql +++ b/database.sql @@ -744,6 +744,8 @@ CREAT TABLE IF NOT EXISTS `notify` ( `uid` INT NOT NULL , `link` CHAR( 255 ) NOT NULL , `seen` TINYINT( 1 ) NOT NULL DEFAULT '0', +`verb` CHAR( 255 ) NOT NULL, +`otype` CHAR( 16 ) NOT NULL, INDEX ( `type` ), INDEX ( `uid` ), INDEX ( `seen` ), diff --git a/update.php b/update.php index 7293e1b985..6eade22f70 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@