Sha256: d83a9a330437232c44ba278cdba7ed23a8cbe814e94b79359f61602cbb77fd49

Contents?: true

Size: 472 Bytes

Versions: 9

Compression:

Stored size: 472 Bytes

Contents

require 'thor'
require 'eucalypt/helpers'
require_relative 'drop-table'
require_relative 'drop-index'
require_relative 'drop-column'

module Eucalypt
  class MigrationDrop < Thor
    include Thor::Actions

    class << self
      require 'eucalypt/list'
      include Eucalypt::List
      def banner(task, namespace = false, subcommand = true)
        "#{basename} migration #{task.formatted_usage(self, true, subcommand).split(':').join(' ')}"
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
eucalypt-0.3.1 lib/eucalypt/migration/namespaces/migration-drop/cli/drop.rb
eucalypt-0.3.0 lib/eucalypt/migration/namespaces/migration-drop/cli/drop.rb
eucalypt-0.2.2 lib/eucalypt/eucalypt-migration/namespaces/migration-drop/cli/drop.rb
eucalypt-0.2.1 lib/eucalypt/eucalypt-migration/namespaces/migration-drop/cli/drop.rb
eucalypt-0.2.0 lib/eucalypt/eucalypt-migration/namespaces/migration-drop/cli/drop.rb
eucalypt-0.1.3 lib/eucalypt/eucalypt-migration/namespaces/migration-drop/cli/drop.rb
eucalypt-0.1.2 lib/eucalypt/eucalypt-migration/namespaces/migration-drop/cli/drop.rb
eucalypt-0.1.1 lib/eucalypt/eucalypt-migration/namespaces/migration-drop/cli/drop.rb
eucalypt-0.1.0 lib/eucalypt/eucalypt-migration/namespaces/migration-drop/cli/drop.rb