summaryrefslogtreecommitdiff
path: root/app/Schema/Postgres.php
diff options
context:
space:
mode:
authorBlueTeck <tili2@gmx.de>2015-10-10 17:23:41 +0200
committerBlueTeck <tili2@gmx.de>2015-10-10 17:23:41 +0200
commitc9ce5962a61d648f95d03a270ae485449f139ab7 (patch)
tree368924c2917891ff88c2b3dfad99dd1d8a9d0e6e /app/Schema/Postgres.php
parente3521db6a83639b409e2dd7abb19417f3ac0a9cd (diff)
#1340 add append/replace option to dustom filters
Diffstat (limited to 'app/Schema/Postgres.php')
-rw-r--r--app/Schema/Postgres.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php
index 2a446e40..d4fae317 100644
--- a/app/Schema/Postgres.php
+++ b/app/Schema/Postgres.php
@@ -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)
{