1
0
mirror of https://github.com/fumiama/paper-manager.git synced 2026-06-29 07:10:28 +08:00

finish 试卷生成

This commit is contained in:
源文雨
2023-04-25 00:36:46 +08:00
parent aabd25ea19
commit 940b2618b3
10 changed files with 280 additions and 78 deletions

View File

@@ -53,7 +53,7 @@ func init() {
panic(err)
}
err = FileDB.db.Create(FileTableQuestion, &Question{},
"FOREIGN KEY(FileID) REFERENCES "+FileTableFile+"(ID)",
"FOREIGN KEY(ListID) REFERENCES "+FileTableList+"(ID)",
)
if err != nil {
panic(err)