Skip to content

Commit 054c891

Browse files
committed
schoolId should not be a unique index
1 parent abd7528 commit 054c891

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/kotlin/stageguard/sctimetable/database/model/SchoolTimetables.dao.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ object SchoolTimetables : IntIdTable("schooltimetables") {
2424
/**
2525
* 学校ID
2626
**/
27-
val schoolId: Column<Int> = integer("schoolId").uniqueIndex()
27+
val schoolId: Column<Int> = integer("schoolId")
2828
/**
2929
* 学校名称
3030
**/

0 commit comments

Comments
 (0)