Skip to content

Commit

Permalink
fix: bs bucket migrate event bug
Browse files Browse the repository at this point in the history
  • Loading branch information
constwz committed May 29, 2024
1 parent 8d7b9dc commit 21d7823
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Docker-CI

on:
push:
branches: [ develop, master]
branches: [ develop, master, fix-bs]

env:
IMAGE_NAME: ghcr.io/bnb-chain/greenfield-storage-provider-invisible
Expand Down
3 changes: 3 additions & 0 deletions modular/blocksyncer/modules/events/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ func (m *Module) PrepareTables() error {
func (m *Module) AutoMigrate() error {
return m.db.AutoMigrate(context.TODO(), []schema.Tabler{
&bsdb.EventSwapOut{},
&bsdb.EventCompleteSwapOut{},
&bsdb.EventCancelSwapOut{},
&bsdb.EventMigrationBucket{},
&bsdb.EventCompleteMigrationBucket{},
&bsdb.EventCancelMigrationBucket{},
&bsdb.EventStorageProviderExit{},
&bsdb.EventCompleteStorageProviderExit{},
&bsdb.EventRejectMigrateBucket{},
Expand Down

0 comments on commit 21d7823

Please sign in to comment.