Sha256: 7fd1f1a30c811b0684be1c477dfe2893b75bd820ce3d706906822f179e16df7d

Contents?: true

Size: 792 Bytes

Versions: 9

Compression:

Stored size: 792 Bytes

Contents

class RemoveDistributors < ActiveRecord::Migration
  class Katello::Distributor < ActiveRecord::Base
    self.table_name = 'katello_distributors'
  end

  def up
    drop_table "katello_distributors"
  end

  def down
    create_table "katello_distributors", :force => true do |t|
      t.string   "uuid"
      t.string   "name"
      t.text     "description"
      t.string   "location"
      t.integer  "environment_id"
      t.datetime "created_at",      :null => false
      t.datetime "updated_at",      :null => false
      t.integer  "content_view_id"
    end

    add_index "katello_distributors", ["content_view_id"], :name => "index_distributors_on_content_view_id"
    add_index "katello_distributors", ["environment_id"], :name => "index_distributors_on_environment_id"
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
katello-2.4.5 db/migrate/20150901213759_remove_distributors.rb
katello-2.4.4 db/migrate/20150901213759_remove_distributors.rb
katello-2.4.3 db/migrate/20150901213759_remove_distributors.rb
katello-2.4.2 db/migrate/20150901213759_remove_distributors.rb
katello-2.4.1 db/migrate/20150901213759_remove_distributors.rb
katello-2.4.0 db/migrate/20150901213759_remove_distributors.rb
katello-2.4.0.rc3 db/migrate/20150901213759_remove_distributors.rb
katello-2.4.0.rc2 db/migrate/20150901213759_remove_distributors.rb
katello-2.4.0.rc1 db/migrate/20150901213759_remove_distributors.rb