Sha256: 7d22e5d45b22fe06d39a4acd88a35a6d452af6d3d17016140089a59eda82837c

Contents?: true

Size: 834 Bytes

Versions: 9

Compression:

Stored size: 834 Bytes

Contents

class RemoveNotices < ActiveRecord::Migration
  def up
    drop_table :katello_notices
  end

  def down
    create_table "katello_notices", :force => true do |t|
      t.string   "text",            :limit => 1024,                    :null => false
      t.text     "details"
      t.boolean  "global",                          :default => false, :null => false
      t.string   "level",                                              :null => false, :limit => 255
      t.datetime "created_at",                                         :null => false
      t.datetime "updated_at",                                         :null => false
      t.string   "request_type", :limit => 255
      t.integer  "organization_id"
    end

    add_index "katello_notices", ["organization_id"], :name => "index_notices_on_organization_id"
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
katello-3.0.2 db/migrate/20150602153757_remove_notices.rb
katello-3.0.1 db/migrate/20150602153757_remove_notices.rb
katello-3.0.0 db/migrate/20150602153757_remove_notices.rb
katello-3.0.0.rc7 db/migrate/20150602153757_remove_notices.rb
katello-3.0.0.rc5 db/migrate/20150602153757_remove_notices.rb
katello-3.0.0.rc4 db/migrate/20150602153757_remove_notices.rb
katello-3.0.0.rc3 db/migrate/20150602153757_remove_notices.rb
katello-3.0.0.rc2 db/migrate/20150602153757_remove_notices.rb
katello-3.0.0.rc1 db/migrate/20150602153757_remove_notices.rb