Updates the gapps_accounts table to also support an "organization
authorVincent Zanotti <vincent.zanotti@m4x.org>
Mon, 30 May 2011 00:27:30 +0000 (02:27 +0200)
committerVincent Zanotti <vincent.zanotti@m4x.org>
Mon, 30 May 2011 00:27:30 +0000 (02:27 +0200)
domain" field. This will only be used by gappsd for now, until the next
release.

upgrade/1.1.1/16_google_apps.sql [new file with mode: 0644]

diff --git a/upgrade/1.1.1/16_google_apps.sql b/upgrade/1.1.1/16_google_apps.sql
new file mode 100644 (file)
index 0000000..e829a48
--- /dev/null
@@ -0,0 +1,7 @@
+-- Adds a new "domain" field to the primary Google Apps table, to allow users
+-- to be created accross multiple organizations (Google Apps's name for multiple
+-- domains with each their own users, all tied to the same primary domain).
+ALTER TABLE  gapps_accounts
+ ADD COLUMN  g_domain VARCHAR(40) DEFAULT NULL AFTER g_account_name;
+
+-- vim:set syntax=mysql: