🐛 Fix auto maintain range missing models
This commit is contained in:
parent
bfddfa2201
commit
a23c51f483
10
.idea/workspace.xml
generated
10
.idea/workspace.xml
generated
@ -4,11 +4,9 @@
|
|||||||
<option name="autoReloadType" value="ALL" />
|
<option name="autoReloadType" value="ALL" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="3fefb2c4-b6f9-466b-a523-53352e8d6f95" name="更改" comment=":bug: Fix daily check issue">
|
<list default="true" id="3fefb2c4-b6f9-466b-a523-53352e8d6f95" name="更改" comment=":sparkles: Can get today's daily sign record">
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/pkg/internal/server/api/index.go" beforeDir="false" afterPath="$PROJECT_DIR$/pkg/internal/server/api/index.go" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/pkg/internal/database/migrator.go" beforeDir="false" afterPath="$PROJECT_DIR$/pkg/internal/database/migrator.go" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/pkg/internal/server/api/sign_api.go" beforeDir="false" afterPath="$PROJECT_DIR$/pkg/internal/server/api/sign_api.go" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/pkg/internal/services/sign.go" beforeDir="false" afterPath="$PROJECT_DIR$/pkg/internal/services/sign.go" afterDir="false" />
|
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
@ -155,7 +153,6 @@
|
|||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
<component name="VcsManagerConfiguration">
|
<component name="VcsManagerConfiguration">
|
||||||
<MESSAGE value=":bug: Fix permissions in groups" />
|
|
||||||
<MESSAGE value=":wastebasket: Clean up code" />
|
<MESSAGE value=":wastebasket: Clean up code" />
|
||||||
<MESSAGE value=":sparkles: Use capital to deal with links" />
|
<MESSAGE value=":sparkles: Use capital to deal with links" />
|
||||||
<MESSAGE value=":bug: Fix internal token audience update isn't fully applied" />
|
<MESSAGE value=":bug: Fix internal token audience update isn't fully applied" />
|
||||||
@ -180,7 +177,8 @@
|
|||||||
<MESSAGE value=":bug: Fix query statement column issue" />
|
<MESSAGE value=":bug: Fix query statement column issue" />
|
||||||
<MESSAGE value=":sparkles: Daily signs" />
|
<MESSAGE value=":sparkles: Daily signs" />
|
||||||
<MESSAGE value=":bug: Fix daily check issue" />
|
<MESSAGE value=":bug: Fix daily check issue" />
|
||||||
<option name="LAST_COMMIT_MESSAGE" value=":bug: Fix daily check issue" />
|
<MESSAGE value=":sparkles: Can get today's daily sign record" />
|
||||||
|
<option name="LAST_COMMIT_MESSAGE" value=":sparkles: Can get today's daily sign record" />
|
||||||
</component>
|
</component>
|
||||||
<component name="VgoProject">
|
<component name="VgoProject">
|
||||||
<settings-migrated>true</settings-migrated>
|
<settings-migrated>true</settings-migrated>
|
||||||
|
@ -25,6 +25,7 @@ var AutoMaintainRange = []any{
|
|||||||
&models.NotificationSubscriber{},
|
&models.NotificationSubscriber{},
|
||||||
&models.AuditRecord{},
|
&models.AuditRecord{},
|
||||||
&models.ApiKey{},
|
&models.ApiKey{},
|
||||||
|
&models.SignRecord{},
|
||||||
}
|
}
|
||||||
|
|
||||||
func RunMigration(source *gorm.DB) error {
|
func RunMigration(source *gorm.DB) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user