Sha256: e3a70a94dc883253a01dcbf4734737775defbec7f4ef9f7cc2efdc14e1b60f8b
Contents?: true
Size: 389 Bytes
Versions: 5
Compression:
Stored size: 389 Bytes
Contents
class AddStatusToReport < ActiveRecord::Migration def self.up add_column :reports, :status, :integer add_index :reports, :status add_index :reports, :host_id add_index :reports, :reported_at end def self.down remove_index :reports, :status remove_index :reports, :host_id remove_index :reports, :reported_at remove_column :reports, :status end end
Version data entries
5 entries across 5 versions & 1 rubygems