Sha256: 1c64fd309f7158cea623cada0a0307c5941e3e9b81817059b511ac37035f6737

Contents?: true

Size: 310 Bytes

Versions: 14

Compression:

Stored size: 310 Bytes

Contents

class ChangedBusinessesAddedCreatedAtUpdatedAt < ActiveRecord::Migration
  def self.up
    add_column :businesses, :updated_at, :datetime
    add_column :businesses, :created_at, :datetime
  end
  
  def self.down
    remove_column :businesses, :updated_at
    remove_column :businesses, :created_at
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
migrant-1.5.0 test/verified_output/migrations/created_at.rb
migrant-1.4.3 test/verified_output/migrations/created_at.rb
migrant-1.4.1 test/verified_output/migrations/created_at.rb
migrant-1.4.0 test/verified_output/migrations/created_at.rb
migrant-1.3.2 test/verified_output/migrations/created_at.rb
migrant-1.3.1 test/verified_output/migrations/created_at.rb
migrant-1.3.0 test/verified_output/migrations/created_at.rb
migrant-1.2.8 test/verified_output/migrations/created_at.rb
migrant-1.2.7 test/verified_output/migrations/created_at.rb
migrant-1.2.5 test/verified_output/migrations/created_at.rb
migrant-1.2.2 test/verified_output/migrations/created_at.rb
migrant-1.2.1 test/verified_output/migrations/created_at.rb
migrant-1.2.0 test/verified_output/migrations/created_at.rb
migrant-1.1.2 test/verified_output/migrations/created_at.rb