Skip to content

Commit

Permalink
Fix migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas committed Oct 28, 2023
1 parent a6d28e0 commit fbb4855
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/mlsstore/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/uptrace/bun"
"github.com/uptrace/bun/migrate"
"github.com/xmtp/xmtp-node-go/pkg/migrations/messages"
mlsMigrations "github.com/xmtp/xmtp-node-go/pkg/migrations/mls"
"go.uber.org/zap"
)

Expand Down Expand Up @@ -196,7 +196,7 @@ func extractIds(keyPackages []*KeyPackage) []string {
}

func (s *Store) migrate(ctx context.Context) error {
migrator := migrate.NewMigrator(s.db, messages.Migrations)
migrator := migrate.NewMigrator(s.db, mlsMigrations.Migrations)
err := migrator.Init(ctx)
if err != nil {
return err
Expand Down

0 comments on commit fbb4855

Please sign in to comment.