summaryrefslogtreecommitdiff
path: root/app/Schema/Mysql.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Schema/Mysql.php')
-rw-r--r--app/Schema/Mysql.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/app/Schema/Mysql.php b/app/Schema/Mysql.php
index 5709b86d..32171d17 100644
--- a/app/Schema/Mysql.php
+++ b/app/Schema/Mysql.php
@@ -8,7 +8,17 @@ use PDO;
use Kanboard\Core\Security\Token;
use Kanboard\Core\Security\Role;
-const VERSION = 126;
+const VERSION = 127;
+
+function version_127(PDO $pdo)
+{
+ $pdo->exec("CREATE TABLE sessions (
+ id VARCHAR(255) NOT NULL,
+ expire_at INT NOT NULL,
+ data LONGTEXT,
+ PRIMARY KEY(id)
+ ) ENGINE=InnoDB CHARSET=utf8");
+}
function version_126(PDO $pdo)
{