Sha256: b5b49c7c8301f7545b6aad13d8bb1baf72b21cf07a2bdfdefda4049aa0e047aa
Contents?: true
Size: 248 Bytes
Versions: 34
Compression:
Stored size: 248 Bytes
Contents
class AddChangesetCommitDate < ActiveRecord::Migration def self.up add_column :changesets, :commit_date, :date Changeset.update_all "commit_date = committed_on" end def self.down remove_column :changesets, :commit_date end end
Version data entries
34 entries across 34 versions & 1 rubygems