Sha256: ef89822af8d37b3c050c7fe4b292db791282e5b8d96c8a885288ed1089e4caae

Contents?: true

Size: 322 Bytes

Versions: 2

Compression:

Stored size: 322 Bytes

Contents

module Hanami
  module Sequel
    module CLI
      class Install < Hanami::CLI::Command
        def call(**options)
          Command.drop
          Command.create
          Command.migrate
          Command.seed
        end
      end
    end
  end
end

Hanami::CLI.register 'sequel install', Hanami::Sequel::CLI::Install

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hanami-sequel-1.1.1 lib/hanami/sequel/commands/install.rb
hanami-sequel-1.1.0.1 lib/hanami/sequel/commands/install.rb