diff options
Diffstat (limited to 'app/Schema/Sqlite.php')
-rw-r--r-- | app/Schema/Sqlite.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Sqlite.php b/app/Schema/Sqlite.php index 7af7bbe8..84892aaf 100644 --- a/app/Schema/Sqlite.php +++ b/app/Schema/Sqlite.php @@ -6,7 +6,12 @@ use Core\Security; use PDO; use Model\Link; -const VERSION = 68; +const VERSION = 69; + +function version_69($pdo) +{ + $pdo->exec("ALTER TABLE users ADD COLUMN token TEXT DEFAULT ''"); +} function version_68($pdo) { |