Skip to content

Commit

Permalink
node: do not do 2nd check of schema drift on the state db
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan4th committed Nov 4, 2024
1 parent dcdd5bb commit 58b0994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -1998,7 +1998,7 @@ func (app *App) setupDBs(ctx context.Context, lg log.Log) error {
sql.WithReadOnly(),
sql.WithLogger(apiDBLog),
sql.WithConnections(app.Config.API.DatabaseConnections),
sql.WithAllowSchemaDrift(app.Config.DatabaseSchemaAllowDrift),
sql.WithNoCheckSchemaDrift(), // already checked above
sql.WithMigrationsDisabled(),
)
if err != nil {
Expand Down

0 comments on commit 58b0994

Please sign in to comment.