From dea5f99363d4cf8e9ffff967c8cbdb38c8c50507 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 20 Apr 2014 19:24:40 -0400 Subject: Add LDAP authentication --- schemas/mysql.php | 5 +++++ schemas/sqlite.php | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'schemas') diff --git a/schemas/mysql.php b/schemas/mysql.php index 245232bd..e688be8d 100644 --- a/schemas/mysql.php +++ b/schemas/mysql.php @@ -2,6 +2,11 @@ namespace Schema; +function version_13($pdo) +{ + $pdo->exec("ALTER TABLE users ADD COLUMN is_ldap_user TINYINT(1) DEFAULT 0"); +} + function version_12($pdo) { $pdo->exec(" diff --git a/schemas/sqlite.php b/schemas/sqlite.php index 4a69751c..c2ac29c1 100644 --- a/schemas/sqlite.php +++ b/schemas/sqlite.php @@ -2,6 +2,11 @@ namespace Schema; +function version_13($pdo) +{ + $pdo->exec("ALTER TABLE users ADD COLUMN is_ldap_user INTEGER DEFAULT 0"); +} + function version_12($pdo) { $pdo->exec( -- cgit v1.2.3