mirror of https://github.com/usememos/memos
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
554 B
Go
26 lines
554 B
Go
package store
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type MigrationHistory struct {
|
|
Version string
|
|
CreatedTs int64
|
|
}
|
|
|
|
type UpsertMigrationHistory struct {
|
|
Version string
|
|
}
|
|
|
|
type FindMigrationHistory struct {
|
|
}
|
|
|
|
func (s *Store) FindMigrationHistoryList(ctx context.Context, find *FindMigrationHistory) ([]*MigrationHistory, error) {
|
|
return s.driver.FindMigrationHistoryList(ctx, find)
|
|
}
|
|
|
|
func (s *Store) UpsertMigrationHistory(ctx context.Context, upsert *UpsertMigrationHistory) (*MigrationHistory, error) {
|
|
return s.driver.UpsertMigrationHistory(ctx, upsert)
|
|
}
|