Skip to content

Commit

Permalink
feat: use timestamp migrator during app startup
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Oct 17, 2017
1 parent 8293601 commit a87f393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pact_broker/db.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def self.connection

def self.run_migrations database_connection
Sequel.extension :migration
Sequel::Migrator.run(database_connection, PactBroker::DB::MIGRATIONS_DIR)
Sequel::TimestampMigrator.new(database_connection, PactBroker::DB::MIGRATIONS_DIR).run
end

def self.validate_connection_config
Expand Down

0 comments on commit a87f393

Please sign in to comment.