Fix db definition (on install)

This commit is contained in:
2019-10-05 12:29:20 +02:00
parent f6e2140842
commit d3326037f2

View File

@@ -41,10 +41,10 @@ class CATC extends Main
(
Auth::USER_TABLE => array(Db::getText(Auth::USER_TABLE), 'nickname', 'pass', 'cookie'),
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'),
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')
),
'types' => array