]> git.mxchange.org Git - friendica.git/commitdiff
add permalink field to item table
authorFriendika <info@friendika.com>
Tue, 15 Feb 2011 11:13:38 +0000 (03:13 -0800)
committerFriendika <info@friendika.com>
Tue, 15 Feb 2011 11:13:38 +0000 (03:13 -0800)
boot.php
database.sql
update.php

index ede8459cb151630ec3ac1d3da328ce5bf769dea6..3dff39a338b42427885b8acefb7181f3bc40967b 100644 (file)
--- 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"     );
index 55671db851e18ff6984d9789e0c47949a9841480..93e444b6b80254053be81b07479dc17d130e7052 100644 (file)
@@ -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,
index 84eaebe185c947728e7897b0197aede140d15a64..131014d4a4424864b81f85abc19463c685066cb1 100644 (file)
@@ -370,3 +370,7 @@ function update_1037() {
 
 }
 
+function update_1038() {
+ q("ALTER TABLE `item` ADD `plink` CHAR( 255 ) NOT NULL AFTER `target` ");
+}
+