/[drupal]/contributions/modules/gradebook/gradebookapi.mysql
ViewVC logotype

Contents of /contributions/modules/gradebook/gradebookapi.mysql

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download)
Sun Aug 20 10:48:38 2006 UTC (3 years, 3 months ago) by rwohleb
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-6--1, DRUPAL-4-7
Changes since 1.3: +3 -2 lines
* Overage has been removed. It wasn't needed.
* Any node type can be an assignment. The assignment module is no longer used.
* Grades now have a note field viewable by the teacher and student.
* Per-assignment grade exemptions have been implemented.
* Initial implementation of hook_gradebookapi is in place.
* Scales partially work. Changing scales on a node screws up grade calculations.
1
2 # $Id: gradebookapi.mysql,v 1.3 2006/08/12 05:49:31 rwohleb Exp $
3
4 CREATE TABLE gradebookapi_assignment (
5 nid int(10) unsigned NOT NULL,
6 possible int(10) NOT NULL default '0',
7 PRIMARY KEY (nid)
8 );
9
10 CREATE TABLE gradebookapi_grade (
11 uid int(10) unsigned NOT NULL,
12 nid int(10) unsigned NOT NULL,
13 earned int(10) NOT NULL default '0',
14 exempt int(2) NOT NULL default '0',
15 timestamp int(11) NOT NULL default '0',
16 note longtext NOT NULL default '',
17 PRIMARY KEY (uid, nid)
18 );
19
20 CREATE TABLE gradebookapi_cache (
21 uid int(10) unsigned NOT NULL,
22 tid int(10) unsigned NOT NULL,
23 earned int(10) NOT NULL default '0',
24 possible int(10) NOT NULL default '0',
25 PRIMARY KEY (uid, tid)
26 );

  ViewVC Help
Powered by ViewVC 1.1.2