mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 00:45:14 +02:00
db support for starred (favorited) items
This commit is contained in:
parent
24836f2966
commit
07dc1c3ca9
3 changed files with 10 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
define( 'UPDATE_VERSION' , 1072 );
|
||||
define( 'UPDATE_VERSION' , 1073 );
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -580,3 +580,8 @@ function update_1071() {
|
|||
q("ALTER TABLE `photo` ADD INDEX ( `profile` ) ");
|
||||
|
||||
}
|
||||
|
||||
function update_1072() {
|
||||
q("ALTER TABLE `item` ADD `starred` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `visible` ");
|
||||
q("ALTER TABLE `item` ADD INDEX ( `starred` ) ");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue