aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-15 03:13:38 -0800
committerFriendika <info@friendika.com>2011-02-15 03:13:38 -0800
commitf856493555480ae74f39f7d56796edc74ea61312 (patch)
tree029c9c11518503192471096f15e196e53501c7aa
parent1b14f67a86c17da457af4c2ede78aec49f673195 (diff)
downloadvolse-hubzilla-f856493555480ae74f39f7d56796edc74ea61312.tar.gz
volse-hubzilla-f856493555480ae74f39f7d56796edc74ea61312.tar.bz2
volse-hubzilla-f856493555480ae74f39f7d56796edc74ea61312.zip
add permalink field to item table
-rw-r--r--boot.php4
-rw-r--r--database.sql1
-rw-r--r--update.php4
3 files changed, 7 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index ede8459cb..3dff39a33 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', "<br />\r\n" );
diff --git a/database.sql b/database.sql
index 55671db85..93e444b6b 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 84eaebe18..131014d4a 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` ");
+}
+