mirror of
https://github.com/friendica/friendica
synced 2025-04-22 17:10:11 +00:00
database updates
This commit is contained in:
parent
9920fb39e5
commit
2a01ae8149
3 changed files with 7 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
define( 'UPDATE_VERSION' , 1147 );
|
||||
define( 'UPDATE_VERSION' , 1148 );
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -1274,8 +1274,7 @@ function update_1146() {
|
|||
return UPDATE_SUCCESS ;
|
||||
}
|
||||
|
||||
/*
|
||||
function update_xxxx() {
|
||||
function update_1147() {
|
||||
$r1 = q("ALTER TABLE `sign` ALTER `iid` SET DEFAULT '0'");
|
||||
$r2 = q("ALTER TABLE `sign` ADD `retract_iid` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `iid`");
|
||||
$r3 = q("ALTER TABLE `sign` ADD INDEX ( `retract_iid` )");
|
||||
|
@ -1283,6 +1282,4 @@ function update_xxxx() {
|
|||
return UPDATE_FAILED ;
|
||||
return UPDATE_SUCCESS ;
|
||||
}
|
||||
*/
|
||||
// dump DB schema: mysqldump -d -h localhost -u root -pmypassword databasename > dumpfile.sql
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue