Add custom filters (refactoring of pull-request #1312)

This commit is contained in:
Frederic Guillot
2015-10-02 21:58:00 -04:00
parent 370361330a
commit 264b552603
17 changed files with 596 additions and 3 deletions

View File

@@ -6,7 +6,21 @@ use Core\Security;
use PDO;
use Model\Link;
const VERSION = 83;
const VERSION = 84;
function version_84($pdo)
{
$pdo->exec("
CREATE TABLE custom_filters (
id INTEGER PRIMARY KEY,
filter TEXT NOT NULL,
project_id INTEGER NOT NULL,
user_id INTEGER NOT NULL,
name TEXT NOT NULL,
is_shared INTEGER DEFAULT 0
)
");
}
function version_83($pdo)
{