Sha256: aa85d2ade0d73c92428012e851e8e5d6faf5d8135ed03ed6dae73cdc0bd579d2

Contents?: true

Size: 533 Bytes

Versions: 3

Compression:

Stored size: 533 Bytes

Contents

class AddMoreDebFields < ActiveRecord::Migration[6.1]
  def up
    add_column :katello_debs, :section, :string, :limit => 255
    add_column :katello_debs, :maintainer, :string, :limit => 255
    add_column :katello_debs, :homepage, :string, :limit => 255
    add_column :katello_debs, :installed_size, :string, :limit => 255
  end

  def down
    remove_column :katello_debs, :section
    remove_column :katello_debs, :maintainer
    remove_column :katello_debs, :homepage
    remove_column :katello_debs, :installed_size
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
katello-4.15.0 db/migrate/20240806130902_add_more_deb_fields.rb
katello-4.15.0.rc2 db/migrate/20240806130902_add_more_deb_fields.rb
katello-4.15.0.rc1 db/migrate/20240806130902_add_more_deb_fields.rb