Sha256: cd42afa2655dc297bb790c2fc5ae43a1a61a44a5a55bdac0134d7991feedc9aa

Contents?: true

Size: 333 Bytes

Versions: 1

Compression:

Stored size: 333 Bytes

Contents

class PageModifiedAt < ActiveRecord::Migration
  def self.up
    add_column :pages, :modified_at, :datetime, :after => :updated_at
    add_column :pages, :refresh_scheduled_at, :datetime, :after => :modified_at
  end
  
  def self.down
    remove_column :pages, :modified_at
    remove_column :pages, :refresh_scheduled_at
  end 
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
humpyard-0.0.1 db/migrate/20101001142534_page_modified_at.rb