Sha256: 085e56007da715906908c7dcc6cc6fa779a21715e73d7e1668d8f3248d004035
Contents?: true
Size: 488 Bytes
Versions: 196
Compression:
Stored size: 488 Bytes
Contents
class ChangeErrataTimestampsToDates < ActiveRecord::Migration[4.2] def up change_column(:katello_errata, :issued, :date) change_column(:katello_errata, :updated, :date) add_index(:katello_errata, :issued) add_index(:katello_errata, :updated) end def down change_column(:katello_errata, :issued, :timestamp) change_column(:katello_errata, :updated, :timestamp) remove_index(:katello_errata, :issued) remove_index(:katello_errata, :updated) end end
Version data entries
196 entries across 196 versions & 1 rubygems