1 2 3 4 5 6 7 8 9 10 11 12
# -*- encoding : utf-8 -*- class VersionPublicBody < ActiveRecord::Migration def self.up PublicBody.create_versioned_table add_timestamps(:public_body_versions) end def self.down PublicBody.drop_versioned_table end end