Skip to content

Commit a87f393

Browse files
committed
feat: use timestamp migrator during app startup
1 parent 8293601 commit a87f393

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pact_broker/db.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def self.connection
1818

1919
def self.run_migrations database_connection
2020
Sequel.extension :migration
21-
Sequel::Migrator.run(database_connection, PactBroker::DB::MIGRATIONS_DIR)
21+
Sequel::TimestampMigrator.new(database_connection, PactBroker::DB::MIGRATIONS_DIR).run
2222
end
2323

2424
def self.validate_connection_config

0 commit comments

Comments
 (0)