db schema change to add tags to content sources

This commit is contained in:
redmatrix
2016-05-01 21:00:02 -07:00
parent 5e458491f1
commit bd2f11ed8b
4 changed files with 14 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1166 );
define( 'UPDATE_VERSION' , 1167 );
/**
*
@@ -2071,3 +2071,12 @@ function update_r1165() {
return UPDATE_FAILED;
}
function update_r1166() {
$r = q("alter table source add src_tag text not null default '' ");
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}