add permalink field to item table

This commit is contained in:
Friendika 2011-02-15 03:13:38 -08:00
parent 1b14f67a86
commit f856493555
3 changed files with 7 additions and 2 deletions

View File

@ -2,8 +2,8 @@
set_time_limit(0); set_time_limit(0);
define ( 'BUILD_ID', 1038 ); define ( 'BUILD_ID', 1039 );
define ( 'FRIENDIKA_VERSION', '2.10.0906' ); define ( 'FRIENDIKA_VERSION', '2.10.0907' );
define ( 'DFRN_PROTOCOL_VERSION', '2.1' ); define ( 'DFRN_PROTOCOL_VERSION', '2.1' );
define ( 'EOL', "<br />\r\n" ); define ( 'EOL', "<br />\r\n" );

View File

@ -181,6 +181,7 @@ CREATE TABLE IF NOT EXISTS `item` (
`object` text NOT NULL, `object` text NOT NULL,
`target-type` char(255) NOT NULL, `target-type` char(255) NOT NULL,
`target` text NOT NULL, `target` text NOT NULL,
`plink` char(255) NOT NULL,
`resource-id` char(255) NOT NULL, `resource-id` char(255) NOT NULL,
`tag` mediumtext NOT NULL, `tag` mediumtext NOT NULL,
`inform` mediumtext NOT NULL, `inform` mediumtext NOT NULL,

View File

@ -370,3 +370,7 @@ function update_1037() {
} }
function update_1038() {
q("ALTER TABLE `item` ADD `plink` CHAR( 255 ) NOT NULL AFTER `target` ");
}