Fix db definition (on install)
This commit is contained in:
@@ -41,10 +41,10 @@ class CATC extends Main
|
|||||||
(
|
(
|
||||||
Auth::USER_TABLE => array(Db::getText(Auth::USER_TABLE), 'nickname', 'pass', 'cookie'),
|
Auth::USER_TABLE => array(Db::getText(Auth::USER_TABLE), 'nickname', 'pass', 'cookie'),
|
||||||
Course::WS_TABLE => array('dates'),
|
Course::WS_TABLE => array('dates'),
|
||||||
Course::COURSE_TABLE => array(Db::getId('workshops'), 'description', 'timeslot'),
|
Course::COURSE_TABLE => array(Db::getId(Course::WS_TABLE), 'description', 'timeslot'),
|
||||||
Note::NOTE_TABLE => array(Db::getId(Auth::USER_TABLE), Db::getId(Course::COURSE_TABLE), 'notes'),
|
Note::NOTE_TABLE => array(Db::getId(Auth::USER_TABLE), Db::getId(Course::COURSE_TABLE), 'notes'),
|
||||||
Definition::DEF_TABLE => array(Db::getId(Auth::USER_TABLE), 'title', 'description'),
|
Definition::DEF_TABLE => array(Db::getId(Auth::USER_TABLE), 'title', 'description'),
|
||||||
Doc::DOC_TABLE => array(Db::getId(Auth::USER_TABLE), Db::getId(Course::COURSE_TABLE), 'type', 'filename', 'filehash'),
|
Doc::DOC_TABLE => array(Db::getId(Auth::USER_TABLE), Db::getId(Course::WS_TABLE), 'type', 'filename', 'filehash'),
|
||||||
'todos' => array(Db::getId(Auth::USER_TABLE), Db::getId(Course::COURSE_TABLE), 'description')
|
'todos' => array(Db::getId(Auth::USER_TABLE), Db::getId(Course::COURSE_TABLE), 'description')
|
||||||
),
|
),
|
||||||
'types' => array
|
'types' => array
|
||||||
|
|||||||
Reference in New Issue
Block a user