Skip to content

Commit aebb7d4

Browse files
author
broccoli
committed
Fix: creating file_record table
by registering the file record entitry in init_data.go, the table is being created during initialization.
1 parent 3f1ed50 commit aebb7d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/migrations/init_data.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ var (
7474
&entity.Badge{},
7575
&entity.BadgeGroup{},
7676
&entity.BadgeAward{},
77+
&entity.FileRecord{},
7778
}
7879

7980
roles = []*entity.Role{

0 commit comments

Comments
 (0)