NEW MODULE FROM MOODLE.COM - DATABASE !
Finally, we have an early version good enough for everyone to
start banging on to help us polish it up and find bugs.
Please take a look and file bugs in the bug tracker under "Database module".
We urgently need
- new icons for existing field types
- testing on PostgreSQL install
Coming soon (?):
- Many more field types: calculation, checkbox, relation, date, datetime,
time, email, group, list, user, number, richtext
(Please let us know if you are interested in developing any of these)
- A way to save and restore "presets", which are field/template sets
- Backup/Restore support
- Groups Support
- RSS support
Many thanks to Yu for all the hard work under my whip.
2005-12-02 07:50:26 +00:00
|
|
|
|
|
|
|
CREATE TABLE prefix_data (
|
2005-12-12 03:32:55 +00:00
|
|
|
id SERIAL PRIMARY KEY,
|
2006-05-05 05:15:18 +00:00
|
|
|
course integer NOT NULL default '0',
|
NEW MODULE FROM MOODLE.COM - DATABASE !
Finally, we have an early version good enough for everyone to
start banging on to help us polish it up and find bugs.
Please take a look and file bugs in the bug tracker under "Database module".
We urgently need
- new icons for existing field types
- testing on PostgreSQL install
Coming soon (?):
- Many more field types: calculation, checkbox, relation, date, datetime,
time, email, group, list, user, number, richtext
(Please let us know if you are interested in developing any of these)
- A way to save and restore "presets", which are field/template sets
- Backup/Restore support
- Groups Support
- RSS support
Many thanks to Yu for all the hard work under my whip.
2005-12-02 07:50:26 +00:00
|
|
|
name varchar(255) NOT NULL default '',
|
|
|
|
intro text NOT NULL default '',
|
2006-05-05 05:15:18 +00:00
|
|
|
comments integer NOT NULL default '0',
|
|
|
|
timeavailablefrom integer NOT NULL default '0',
|
|
|
|
timeavailableto integer NOT NULL default '0',
|
|
|
|
timeviewfrom integer NOT NULL default '0',
|
|
|
|
timeviewto integer NOT NULL default '0',
|
|
|
|
requiredentries integer NOT NULL default '0',
|
|
|
|
requiredentriestoview integer NOT NULL default '0',
|
|
|
|
maxentries integer NOT NULL default '0',
|
2005-12-12 03:32:55 +00:00
|
|
|
rssarticles integer NOT NULL default '0',
|
2006-09-23 09:37:53 +00:00
|
|
|
singletemplate text,
|
|
|
|
listtemplate text,
|
|
|
|
listtemplateheader text,
|
|
|
|
listtemplatefooter text,
|
|
|
|
addtemplate text,
|
|
|
|
rsstemplate text,
|
|
|
|
rsstitletemplate text,
|
|
|
|
csstemplate text,
|
|
|
|
jstemplate text,
|
2006-05-05 05:15:18 +00:00
|
|
|
approval integer NOT NULL default '0',
|
2006-02-08 04:35:23 +00:00
|
|
|
scale integer NOT NULL default '0',
|
|
|
|
assessed integer NOT NULL default '0',
|
2006-03-27 06:52:11 +00:00
|
|
|
defaultsort integer NOT NULL default '0',
|
2006-03-27 07:54:42 +00:00
|
|
|
defaultsortdir integer NOT NULL default '0',
|
2006-03-27 06:52:11 +00:00
|
|
|
editany integer NOT NULL default '0'
|
NEW MODULE FROM MOODLE.COM - DATABASE !
Finally, we have an early version good enough for everyone to
start banging on to help us polish it up and find bugs.
Please take a look and file bugs in the bug tracker under "Database module".
We urgently need
- new icons for existing field types
- testing on PostgreSQL install
Coming soon (?):
- Many more field types: calculation, checkbox, relation, date, datetime,
time, email, group, list, user, number, richtext
(Please let us know if you are interested in developing any of these)
- A way to save and restore "presets", which are field/template sets
- Backup/Restore support
- Groups Support
- RSS support
Many thanks to Yu for all the hard work under my whip.
2005-12-02 07:50:26 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE prefix_data_content (
|
2005-12-12 03:32:55 +00:00
|
|
|
id SERIAL PRIMARY KEY,
|
2006-05-05 05:15:18 +00:00
|
|
|
fieldid integer NOT NULL default '0',
|
|
|
|
recordid integer NOT NULL default '0',
|
2006-09-23 09:37:53 +00:00
|
|
|
content text,
|
|
|
|
content1 text,
|
|
|
|
content2 text,
|
|
|
|
content3 text,
|
|
|
|
content text4
|
NEW MODULE FROM MOODLE.COM - DATABASE !
Finally, we have an early version good enough for everyone to
start banging on to help us polish it up and find bugs.
Please take a look and file bugs in the bug tracker under "Database module".
We urgently need
- new icons for existing field types
- testing on PostgreSQL install
Coming soon (?):
- Many more field types: calculation, checkbox, relation, date, datetime,
time, email, group, list, user, number, richtext
(Please let us know if you are interested in developing any of these)
- A way to save and restore "presets", which are field/template sets
- Backup/Restore support
- Groups Support
- RSS support
Many thanks to Yu for all the hard work under my whip.
2005-12-02 07:50:26 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE prefix_data_fields (
|
2005-12-12 03:32:55 +00:00
|
|
|
id SERIAL PRIMARY KEY,
|
2006-05-05 05:15:18 +00:00
|
|
|
dataid integer NOT NULL default '0',
|
NEW MODULE FROM MOODLE.COM - DATABASE !
Finally, we have an early version good enough for everyone to
start banging on to help us polish it up and find bugs.
Please take a look and file bugs in the bug tracker under "Database module".
We urgently need
- new icons for existing field types
- testing on PostgreSQL install
Coming soon (?):
- Many more field types: calculation, checkbox, relation, date, datetime,
time, email, group, list, user, number, richtext
(Please let us know if you are interested in developing any of these)
- A way to save and restore "presets", which are field/template sets
- Backup/Restore support
- Groups Support
- RSS support
Many thanks to Yu for all the hard work under my whip.
2005-12-02 07:50:26 +00:00
|
|
|
type varchar(255) NOT NULL default '',
|
|
|
|
name varchar(255) NOT NULL default '',
|
2006-05-05 05:15:18 +00:00
|
|
|
description text NOT NULL default '',
|
2006-09-23 09:37:53 +00:00
|
|
|
param1 text,
|
|
|
|
param2 text,
|
|
|
|
param3 text,
|
|
|
|
param4 text,
|
|
|
|
param5 text,
|
|
|
|
param6 text,
|
|
|
|
param7 text,
|
|
|
|
param8 text,
|
|
|
|
param9 text,
|
|
|
|
param10 text
|
NEW MODULE FROM MOODLE.COM - DATABASE !
Finally, we have an early version good enough for everyone to
start banging on to help us polish it up and find bugs.
Please take a look and file bugs in the bug tracker under "Database module".
We urgently need
- new icons for existing field types
- testing on PostgreSQL install
Coming soon (?):
- Many more field types: calculation, checkbox, relation, date, datetime,
time, email, group, list, user, number, richtext
(Please let us know if you are interested in developing any of these)
- A way to save and restore "presets", which are field/template sets
- Backup/Restore support
- Groups Support
- RSS support
Many thanks to Yu for all the hard work under my whip.
2005-12-02 07:50:26 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
CREATE TABLE prefix_data_records (
|
2005-12-12 03:32:55 +00:00
|
|
|
id SERIAL PRIMARY KEY,
|
2006-05-05 05:15:18 +00:00
|
|
|
userid integer NOT NULL default '0',
|
|
|
|
groupid integer NOT NULL default '0',
|
|
|
|
dataid integer NOT NULL default '0',
|
|
|
|
timecreated integer NOT NULL default '0',
|
|
|
|
timemodified integer NOT NULL default '0',
|
|
|
|
approved integer NOT NULL default '0'
|
NEW MODULE FROM MOODLE.COM - DATABASE !
Finally, we have an early version good enough for everyone to
start banging on to help us polish it up and find bugs.
Please take a look and file bugs in the bug tracker under "Database module".
We urgently need
- new icons for existing field types
- testing on PostgreSQL install
Coming soon (?):
- Many more field types: calculation, checkbox, relation, date, datetime,
time, email, group, list, user, number, richtext
(Please let us know if you are interested in developing any of these)
- A way to save and restore "presets", which are field/template sets
- Backup/Restore support
- Groups Support
- RSS support
Many thanks to Yu for all the hard work under my whip.
2005-12-02 07:50:26 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE prefix_data_comments (
|
2005-12-12 03:32:55 +00:00
|
|
|
id SERIAL PRIMARY KEY,
|
2006-05-05 05:15:18 +00:00
|
|
|
userid integer NOT NULL default '0',
|
|
|
|
recordid integer NOT NULL default '0',
|
|
|
|
content text NOT NULL default '',
|
2006-02-27 02:06:35 +00:00
|
|
|
created integer NOT NULL default '0',
|
|
|
|
modified integer NOT NULL default '0'
|
NEW MODULE FROM MOODLE.COM - DATABASE !
Finally, we have an early version good enough for everyone to
start banging on to help us polish it up and find bugs.
Please take a look and file bugs in the bug tracker under "Database module".
We urgently need
- new icons for existing field types
- testing on PostgreSQL install
Coming soon (?):
- Many more field types: calculation, checkbox, relation, date, datetime,
time, email, group, list, user, number, richtext
(Please let us know if you are interested in developing any of these)
- A way to save and restore "presets", which are field/template sets
- Backup/Restore support
- Groups Support
- RSS support
Many thanks to Yu for all the hard work under my whip.
2005-12-02 07:50:26 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE prefix_data_ratings (
|
2005-12-12 03:32:55 +00:00
|
|
|
id SERIAL PRIMARY KEY,
|
2006-05-05 05:15:18 +00:00
|
|
|
userid integer NOT NULL default '0',
|
|
|
|
recordid integer NOT NULL default '0',
|
|
|
|
rating integer NOT NULL default '0'
|
NEW MODULE FROM MOODLE.COM - DATABASE !
Finally, we have an early version good enough for everyone to
start banging on to help us polish it up and find bugs.
Please take a look and file bugs in the bug tracker under "Database module".
We urgently need
- new icons for existing field types
- testing on PostgreSQL install
Coming soon (?):
- Many more field types: calculation, checkbox, relation, date, datetime,
time, email, group, list, user, number, richtext
(Please let us know if you are interested in developing any of these)
- A way to save and restore "presets", which are field/template sets
- Backup/Restore support
- Groups Support
- RSS support
Many thanks to Yu for all the hard work under my whip.
2005-12-02 07:50:26 +00:00
|
|
|
);
|
|
|
|
|
2006-04-24 08:09:00 +00:00
|
|
|
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('data', 'view', 'data', 'name');
|
|
|
|
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('data', 'add', 'data', 'name');
|
|
|
|
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('data', 'update', 'data', 'name');
|
|
|
|
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('data', 'record delete', 'data', 'name');
|
|
|
|
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('data', 'fields add', 'data_fields', 'name');
|
|
|
|
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('data', 'fields update', 'data_fields', 'name');
|
|
|
|
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('data', 'templates saved', 'data', 'name');
|
|
|
|
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('data', 'templates def', 'data', 'name');
|