mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
This is the first check-in of support for groups.
It's very early (it doesn't actually do anything yet!) but you can define groups and get an idea of how the interface is shaping up. I also wanted to show that I have actually done something on this! :-) From here my plan is to add group support to the modules, one by one (forums first), then go back and clean up some of the central interfaces, graphics etc. Finally, test, test, test and get 1.2 out well before the end of February.
This commit is contained in:
parent
ee39bbe0ee
commit
f374fb1006
22 changed files with 1029 additions and 57 deletions
|
@ -29,6 +29,8 @@ CREATE TABLE prefix_course (
|
|||
maxbytes integer NOT NULL default '0',
|
||||
showreports integer NOT NULL default '0',
|
||||
visible integer NOT NULL default '1',
|
||||
groupmode integer NOT NULL default '0',
|
||||
groupmodeforce integer NOT NULL default '0',
|
||||
timecreated integer NOT NULL default '0',
|
||||
timemodified integer NOT NULL default '0'
|
||||
);
|
||||
|
@ -77,6 +79,28 @@ CREATE TABLE prefix_course_sections (
|
|||
visible integer NOT NULL default '1'
|
||||
);
|
||||
|
||||
CREATE TABLE prefix_group (
|
||||
id SERIAL PRIMARY KEY,
|
||||
courseid integer NOT NULL default '0',
|
||||
name varchar(255) NOT NULL default '',
|
||||
description text,
|
||||
lang varchar(10) NOT NULL default '',
|
||||
picture integer NOT NULL default '0',
|
||||
timecreated integer NOT NULL default '0',
|
||||
timemodified integer NOT NULL default '0'
|
||||
);
|
||||
|
||||
CREATE INDEX prefix_group_idx ON prefix_group (courseid);
|
||||
|
||||
CREATE TABLE prefix_group_members (
|
||||
id SERIAL PRIMARY KEY,
|
||||
groupid integer NOT NULL default '0',
|
||||
userid integer NOT NULL default '0',
|
||||
timeadded integer NOT NULL default '0'
|
||||
);
|
||||
|
||||
CREATE INDEX prefix_group_members_idx ON prefix_group_members (groupid);
|
||||
|
||||
CREATE TABLE prefix_log (
|
||||
id SERIAL PRIMARY KEY,
|
||||
time integer NOT NULL default '0',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue