Sha256: 76ddee08cbe6b9f37db9fe110a567c7d3a6251705331a97f39f677b853fb7d43

Contents?: true

Size: 297 Bytes

Versions: 5

Compression:

Stored size: 297 Bytes

Contents

require 'hanami/commands/command'

module Hanami
  module Commands
    class DB
      class Version < Command
        requires 'model.configuration'

        def start
          require 'hanami/model/migrator'
          puts Hanami::Model::Migrator.version
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hanami-1.0.0.beta2 lib/hanami/commands/db/version.rb
hanami-1.0.0.beta1 lib/hanami/commands/db/version.rb
hanami-0.9.2 lib/hanami/commands/db/version.rb
hanami-0.9.1 lib/hanami/commands/db/version.rb
hanami-0.9.0 lib/hanami/commands/db/version.rb