summaryrefslogtreecommitdiff
path: root/modules/g2_import/helpers/g2_import_installer.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-04-18 23:10:57 +0000
committerBharat Mediratta <bharat@menalto.com>2009-04-18 23:10:57 +0000
commite7ba49b69c41793ba2f3605d6a6b0f8d6588e1c4 (patch)
treeca0a806f682a9eade1f3fe029fefa90ff7650321 /modules/g2_import/helpers/g2_import_installer.php
parent0fe439876523d453ca1c5ad7ddadc808c02c9cf8 (diff)
Properly import groups and put users into groups. Mark admin users
appropriately.
Diffstat (limited to 'modules/g2_import/helpers/g2_import_installer.php')
-rw-r--r--modules/g2_import/helpers/g2_import_installer.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/g2_import/helpers/g2_import_installer.php b/modules/g2_import/helpers/g2_import_installer.php
index 22aa76c4..40fc304a 100644
--- a/modules/g2_import/helpers/g2_import_installer.php
+++ b/modules/g2_import/helpers/g2_import_installer.php
@@ -23,8 +23,9 @@ class g2_import_installer {
$version = module::get_version("g2_import");
if ($version == 0) {
$db->query("CREATE TABLE IF NOT EXISTS {g2_maps} (
- `id` int(9) NOT NULL,
+ `id` int(9) NOT NULL auto_increment,
`g2_id` int(9) NOT NULL,
+ `g3_id` int(9) NOT NULL,
PRIMARY KEY (`id`),
KEY (`g2_id`))
ENGINE=InnoDB DEFAULT CHARSET=utf8;");