Sha256: 4061dbe310be4f1aa26f27d1326df254986f70157d028d2950949dd04466506e

Contents?: true

Size: 836 Bytes

Versions: 7

Compression:

Stored size: 836 Bytes

Contents

class RemoveDistributors < ActiveRecord::Migration
  class Katello::Distributor < ApplicationRecord
    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", :limit => 255
      t.string   "name", :limit => 255
      t.text     "description"
      t.string   "location", :limit => 255
      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

7 entries across 7 versions & 1 rubygems

Version Path
katello-3.5.2 db/migrate/20150901213759_remove_distributors.rb
katello-3.5.1.1 db/migrate/20150901213759_remove_distributors.rb
katello-3.5.1 db/migrate/20150901213759_remove_distributors.rb
katello-3.5.0.1 db/migrate/20150901213759_remove_distributors.rb
katello-3.5.0 db/migrate/20150901213759_remove_distributors.rb
katello-3.5.0.rc2 db/migrate/20150901213759_remove_distributors.rb
katello-3.5.0.rc1 db/migrate/20150901213759_remove_distributors.rb