Sha256: dee3ea09cfb6c385ec6ed4db0b249687e246392eee331003a5de95f0ee5ce1f3
Contents?: true
Size: 342 Bytes
Versions: 43
Compression:
Stored size: 342 Bytes
Contents
class AddSimpleAuditingOfTasks < ActiveRecord::Migration def self.up add_column :tasks, :created_by, :integer, :references => [:users, :party_id] add_column :tasks, :updated_by, :integer, :references => [:users, :party_id] end def self.down remove_column :tasks, :updated_by remove_column :tasks, :created_by end end
Version data entries
43 entries across 43 versions & 1 rubygems