Sha256: a97dbe5fcc2ee7681a5fd858aa60d59c2c72b55b5be9f13b265e8eb82cf9090b
Contents?: true
Size: 398 Bytes
Versions: 23
Compression:
Stored size: 398 Bytes
Contents
# encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details. class AddTimestampsToOrders < ActiveRecord::Migration def self.up change_table(:orders) do |t| t.timestamps end end def self.down remove_column :orders, :updated_at remove_column :orders, :created_at end end
Version data entries
23 entries across 23 versions & 2 rubygems