mirror of
https://github.com/Karaka-Management/oms-QA.git
synced 2026-02-14 23:08:40 +00:00
many fixes and expands and module expansions
This commit is contained in:
parent
68dc5223fd
commit
8cbcf6ae37
|
|
@ -109,6 +109,37 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"qa_question_vote": {
|
||||||
|
"name": "qa_question_vote",
|
||||||
|
"fields": {
|
||||||
|
"qa_question_vote_id": {
|
||||||
|
"name": "qa_question_vote_id",
|
||||||
|
"type": "INT",
|
||||||
|
"null": false,
|
||||||
|
"primary": true,
|
||||||
|
"autoincrement": true
|
||||||
|
},
|
||||||
|
"qa_question_vote_src": {
|
||||||
|
"name": "qa_question_vote_src",
|
||||||
|
"type": "INT",
|
||||||
|
"null": false,
|
||||||
|
"foreignTable": "qa_question",
|
||||||
|
"foreignKey": "qa_question_id"
|
||||||
|
},
|
||||||
|
"qa_question_vote_dst": {
|
||||||
|
"name": "qa_question_vote_dst",
|
||||||
|
"type": "INT",
|
||||||
|
"null": false,
|
||||||
|
"foreignTable": "account",
|
||||||
|
"foreignKey": "account_id"
|
||||||
|
},
|
||||||
|
"qa_question_vote_score": {
|
||||||
|
"name": "qa_question_vote_score",
|
||||||
|
"type": "TINYINT",
|
||||||
|
"null": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"qa_tag": {
|
"qa_tag": {
|
||||||
"name": "qa_tag",
|
"name": "qa_tag",
|
||||||
"fields": {
|
"fields": {
|
||||||
|
|
@ -187,5 +218,36 @@
|
||||||
"foreignKey": "qa_question_id"
|
"foreignKey": "qa_question_id"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"qa_answer_vote": {
|
||||||
|
"name": "qa_answer_vote",
|
||||||
|
"fields": {
|
||||||
|
"qa_answer_vote_id": {
|
||||||
|
"name": "qa_answer_vote_id",
|
||||||
|
"type": "INT",
|
||||||
|
"null": false,
|
||||||
|
"primary": true,
|
||||||
|
"autoincrement": true
|
||||||
|
},
|
||||||
|
"qa_answer_vote_src": {
|
||||||
|
"name": "qa_answer_vote_src",
|
||||||
|
"type": "INT",
|
||||||
|
"null": false,
|
||||||
|
"foreignTable": "qa_answer",
|
||||||
|
"foreignKey": "qa_answer_id"
|
||||||
|
},
|
||||||
|
"qa_answer_vote_dst": {
|
||||||
|
"name": "qa_answer_vote_dst",
|
||||||
|
"type": "INT",
|
||||||
|
"null": false,
|
||||||
|
"foreignTable": "account",
|
||||||
|
"foreignKey": "account_id"
|
||||||
|
},
|
||||||
|
"qa_answer_vote_score": {
|
||||||
|
"name": "qa_answer_vote_score",
|
||||||
|
"type": "TINYINT",
|
||||||
|
"null": false
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -25,7 +25,7 @@ echo $this->getData('nav')->render();
|
||||||
<section class="portlet">
|
<section class="portlet">
|
||||||
<div class="portlet-head"><?= $this->printHtml($question->name); ?></div>
|
<div class="portlet-head"><?= $this->printHtml($question->name); ?></div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<?= $this->printHtml($question->question); ?>
|
<?= $question->question; ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<?php if ($question->createdBy->image !== null) : ?>
|
<?php if ($question->createdBy->image !== null) : ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user