sql/core_group.sql
authorAlan Knowles <alan@roojs.com>
Fri, 7 Oct 2016 05:18:32 +0000 (13:18 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 7 Oct 2016 05:18:32 +0000 (13:18 +0800)
sql/core_group.sql

index a23a20d..4cb6d83 100644 (file)
@@ -1,15 +1,15 @@
 
 
 
--- used to be Groups .... we will need to flip all old code to use this...
+-- IF you are working on an old system... - copy the changes to Groups.sql...
  
-CREATE TABLE core_groups (
+CREATE TABLE core_group (
   id int(11) NOT NULL auto_increment,  
   PRIMARY KEY   (id)
 );
 
-ALTER TABLE Groups ADD COLUMN name varchar(128)  NOT NULL DEFAULT '';
-ALTER TABLE Groups ADD COLUMN type  int(11)  NOT NULL DEFAULT 0;
-ALTER TABLE Groups ADD COLUMN leader int(11)  NOT NULL default 0;
-ALTER TABLE Groups ADD COLUMN is_system int(2) NOT NULL default 0;
+ALTER TABLE core_group ADD COLUMN name varchar(128)  NOT NULL DEFAULT '';
+ALTER TABLE core_group ADD COLUMN type  int(11)  NOT NULL DEFAULT 0;
+ALTER TABLE core_group ADD COLUMN leader int(11)  NOT NULL default 0;
+ALTER TABLE core_group ADD COLUMN is_system int(2) NOT NULL default 0;