lib/rom/sql/migration/migrator.rb in rom-sql-0.6.1 vs lib/rom/sql/migration/migrator.rb in rom-sql-0.7.0.beta1

- old
+ new

@@ -18,9 +18,13 @@ def run(options = {}) Sequel::Migrator.run(connection, path.to_s, options) end + def pending? + !Sequel::Migrator.is_current?(connection, path.to_s) + end + def migration(&block) Sequel.migration(&block) end def create_file(name, version = generate_version)