Sha256: ea55a90d807da32d4551deb963adbb68d8f67499fac8882dfa65bd31ca871bf2
Contents?: true
Size: 434 Bytes
Versions: 1
Compression:
Stored size: 434 Bytes
Contents
require 'sequel' require 'faraday' require 'diplomat' require 'clockwork_database_events/version' # clockwork database events module ClockworkDatabaseEvents def migrate(db) require 'sequel' Sequel.extension :migration migrations = File.expand_path('../../db/migrations', __FILE__) return if Sequel::Migrator.is_current?(db, migrations) Sequel::Migrator.run(db, migrations) end module_function :migrate end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
clockwork_database_events-0.2.6 | lib/clockwork_database_events.rb |