summaryrefslogtreecommitdiff
path: root/schemas
diff options
context:
space:
mode:
Diffstat (limited to 'schemas')
-rw-r--r--schemas/mysql.php7
-rw-r--r--schemas/sqlite.php7
2 files changed, 14 insertions, 0 deletions
diff --git a/schemas/mysql.php b/schemas/mysql.php
index e688be8d..e7ead3f1 100644
--- a/schemas/mysql.php
+++ b/schemas/mysql.php
@@ -2,6 +2,13 @@
namespace Schema;
+function version_14($pdo)
+{
+ $pdo->exec("ALTER TABLE users ADD COLUMN name VARCHAR(255)");
+ $pdo->exec("ALTER TABLE users ADD COLUMN email VARCHAR(255)");
+ $pdo->exec("ALTER TABLE users ADD COLUMN google_id VARCHAR(30)");
+}
+
function version_13($pdo)
{
$pdo->exec("ALTER TABLE users ADD COLUMN is_ldap_user TINYINT(1) DEFAULT 0");
diff --git a/schemas/sqlite.php b/schemas/sqlite.php
index c2ac29c1..d3e4ce9b 100644
--- a/schemas/sqlite.php
+++ b/schemas/sqlite.php
@@ -2,6 +2,13 @@
namespace Schema;
+function version_14($pdo)
+{
+ $pdo->exec("ALTER TABLE users ADD COLUMN name TEXT");
+ $pdo->exec("ALTER TABLE users ADD COLUMN email TEXT");
+ $pdo->exec("ALTER TABLE users ADD COLUMN google_id TEXT");
+}
+
function version_13($pdo)
{
$pdo->exec("ALTER TABLE users ADD COLUMN is_ldap_user INTEGER DEFAULT 0");