Title / Description
Code class AddVersions < ActiveRecord::Migration def self.up # create_versioned_table takes the same options hash # that create_table does Post.create_versioned_table end def self.down Post.drop_versioned_table end end
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code