-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsitegroup.sql
40 lines (38 loc) · 1.51 KB
/
sitegroup.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
CREATE TABLE sitegroup (
id smallint(5) unsigned DEFAULT '0' NOT NULL auto_increment,
name varchar(255) DEFAULT '' NOT NULL,
admingroup smallint(5) unsigned DEFAULT '0' NOT NULL,
PRIMARY KEY (id)
);
ALTER TABLE article ADD COLUMN
sitegroup smallint(5) unsigned DEFAULT '0' NOT NULL;
ALTER TABLE element ADD COLUMN
sitegroup smallint(5) unsigned DEFAULT '0' NOT NULL;
ALTER TABLE file ADD COLUMN
sitegroup smallint(5) unsigned DEFAULT '0' NOT NULL;
ALTER TABLE grp ADD COLUMN
sitegroup smallint(5) unsigned DEFAULT '0' NOT NULL;
ALTER TABLE host ADD COLUMN
sitegroup smallint(5) unsigned DEFAULT '0' NOT NULL;
ALTER TABLE image ADD COLUMN
sitegroup smallint(5) unsigned DEFAULT '0' NOT NULL;
ALTER TABLE member ADD COLUMN
sitegroup smallint(5) unsigned DEFAULT '0' NOT NULL;
ALTER TABLE page ADD COLUMN
sitegroup smallint(5) unsigned DEFAULT '0' NOT NULL;
ALTER TABLE pageelement ADD COLUMN
sitegroup smallint(5) unsigned DEFAULT '0' NOT NULL;
ALTER TABLE person ADD COLUMN
sitegroup smallint(5) unsigned DEFAULT '0' NOT NULL;
ALTER TABLE preference ADD COLUMN
sitegroup smallint(5) unsigned DEFAULT '0' NOT NULL;
ALTER TABLE repligard ADD COLUMN
sitegroup smallint(5) unsigned DEFAULT '0' NOT NULL;
ALTER TABLE snippet ADD COLUMN
sitegroup smallint(5) unsigned DEFAULT '0' NOT NULL;
ALTER TABLE snippetdir ADD COLUMN
sitegroup smallint(5) unsigned DEFAULT '0' NOT NULL;
ALTER TABLE style ADD COLUMN
sitegroup smallint(5) unsigned DEFAULT '0' NOT NULL;
ALTER TABLE topic ADD COLUMN
sitegroup smallint(5) unsigned DEFAULT '0' NOT NULL;