Sha256: 899288a470aa4d8583929eb138e3dddbf5b8b0c337fe362f94cb287e6e465f50

Contents?: true

Size: 480 Bytes

Versions: 9

Compression:

Stored size: 480 Bytes

Contents

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

module Eucalypt
  class MigrationRename < 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-rename/cli/rename.rb
eucalypt-0.3.0 lib/eucalypt/migration/namespaces/migration-rename/cli/rename.rb
eucalypt-0.2.2 lib/eucalypt/eucalypt-migration/namespaces/migration-rename/cli/rename.rb
eucalypt-0.2.1 lib/eucalypt/eucalypt-migration/namespaces/migration-rename/cli/rename.rb
eucalypt-0.2.0 lib/eucalypt/eucalypt-migration/namespaces/migration-rename/cli/rename.rb
eucalypt-0.1.3 lib/eucalypt/eucalypt-migration/namespaces/migration-rename/cli/rename.rb
eucalypt-0.1.2 lib/eucalypt/eucalypt-migration/namespaces/migration-rename/cli/rename.rb
eucalypt-0.1.1 lib/eucalypt/eucalypt-migration/namespaces/migration-rename/cli/rename.rb
eucalypt-0.1.0 lib/eucalypt/eucalypt-migration/namespaces/migration-rename/cli/rename.rb