#1340 add append/replace option to dustom filters
This commit is contained in:
@@ -6,7 +6,12 @@ use PDO;
|
||||
use Core\Security;
|
||||
use Model\Link;
|
||||
|
||||
const VERSION = 90;
|
||||
const VERSION = 91;
|
||||
|
||||
function version_91($pdo)
|
||||
{
|
||||
$pdo->exec("ALTER TABLE custom_filters ADD COLUMN append TINYINT(1) DEFAULT 0");
|
||||
}
|
||||
|
||||
function version_90($pdo)
|
||||
{
|
||||
|
||||
@@ -6,7 +6,12 @@ use PDO;
|
||||
use Core\Security;
|
||||
use Model\Link;
|
||||
|
||||
const VERSION = 70;
|
||||
const VERSION = 71;
|
||||
|
||||
function version_71($pdo)
|
||||
{
|
||||
$pdo->exec("ALTER TABLE custom_filters ADD COLUMN append BOOLEAN DEFAULT '0'");
|
||||
}
|
||||
|
||||
function version_70($pdo)
|
||||
{
|
||||
|
||||
@@ -6,7 +6,12 @@ use Core\Security;
|
||||
use PDO;
|
||||
use Model\Link;
|
||||
|
||||
const VERSION = 85;
|
||||
const VERSION = 86;
|
||||
|
||||
function version_86($pdo)
|
||||
{
|
||||
$pdo->exec("ALTER TABLE custom_filters ADD COLUMN append INTEGER DEFAULT 0");
|
||||
}
|
||||
|
||||
function version_85($pdo)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user