add permalink field to item table
This commit is contained in:
parent
1b14f67a86
commit
f856493555
4
boot.php
4
boot.php
|
@ -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" );
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -370,3 +370,7 @@ function update_1037() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function update_1038() {
|
||||||
|
q("ALTER TABLE `item` ADD `plink` CHAR( 255 ) NOT NULL AFTER `target` ");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user