diff options
author | Frédéric Guillot <fguillot@users.noreply.github.com> | 2014-04-20 19:24:40 -0400 |
---|---|---|
committer | Frédéric Guillot <fguillot@users.noreply.github.com> | 2014-04-20 19:24:40 -0400 |
commit | dea5f99363d4cf8e9ffff967c8cbdb38c8c50507 (patch) | |
tree | cadeb605c8c4f919dd3e1f8d43cfec6fe980ec6d /schemas | |
parent | 1b05f20d58474f053ee8a09343389b34a7f39fb7 (diff) |
Add LDAP authentication
Diffstat (limited to 'schemas')
-rw-r--r-- | schemas/mysql.php | 5 | ||||
-rw-r--r-- | schemas/sqlite.php | 5 |
2 files changed, 10 insertions, 0 deletions
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( |