From f856493555480ae74f39f7d56796edc74ea61312 Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 15 Feb 2011 03:13:38 -0800 Subject: [PATCH] add permalink field to item table --- boot.php | 4 ++-- database.sql | 1 + update.php | 4 ++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/boot.php b/boot.php index ede8459cb1..3dff39a338 100644 --- a/boot.php +++ b/boot.php @@ -2,8 +2,8 @@ set_time_limit(0); -define ( 'BUILD_ID', 1038 ); -define ( 'FRIENDIKA_VERSION', '2.10.0906' ); +define ( 'BUILD_ID', 1039 ); +define ( 'FRIENDIKA_VERSION', '2.10.0907' ); define ( 'DFRN_PROTOCOL_VERSION', '2.1' ); define ( 'EOL', "
\r\n" ); diff --git a/database.sql b/database.sql index 55671db851..93e444b6b8 100644 --- a/database.sql +++ b/database.sql @@ -181,6 +181,7 @@ CREATE TABLE IF NOT EXISTS `item` ( `object` text NOT NULL, `target-type` char(255) NOT NULL, `target` text NOT NULL, + `plink` char(255) NOT NULL, `resource-id` char(255) NOT NULL, `tag` mediumtext NOT NULL, `inform` mediumtext NOT NULL, diff --git a/update.php b/update.php index 84eaebe185..131014d4a4 100644 --- a/update.php +++ b/update.php @@ -370,3 +370,7 @@ function update_1037() { } +function update_1038() { + q("ALTER TABLE `item` ADD `plink` CHAR( 255 ) NOT NULL AFTER `target` "); +} +