mirror of
https://github.com/usememos/memos.git
synced 2025-11-11 18:00:53 +08:00
chore: fix linter
This commit is contained in:
parent
0398df1d21
commit
834f92f67c
1 changed files with 1 additions and 1 deletions
|
|
@ -315,7 +315,7 @@ func (s *Store) normalizeMigrationHistoryList(ctx context.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
// migrateSchemaVersionToSetting migrates the schema version from the migration history to the workspace basic setting.
|
// migrateSchemaVersionToSetting migrates the schema version from the migration history to the workspace basic setting.
|
||||||
// It retrieves the migration history, sorts the versions, and updates the workspace basic setting if necessary
|
// It retrieves the migration history, sorts the versions, and updates the workspace basic setting if necessary.
|
||||||
func (s *Store) migrateSchemaVersionToSetting(ctx context.Context) error {
|
func (s *Store) migrateSchemaVersionToSetting(ctx context.Context) error {
|
||||||
migrationHistoryList, err := s.driver.FindMigrationHistoryList(ctx, &FindMigrationHistory{})
|
migrationHistoryList, err := s.driver.FindMigrationHistoryList(ctx, &FindMigrationHistory{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue