Sha256: f8ba850b6aa14edc3207a33ddbfe88ded7f7568bdd55118b9a4baee0c9817b16
Contents?: true
Size: 316 Bytes
Versions: 16
Compression:
Stored size: 316 Bytes
Contents
class AddTypeToComments < ActiveRecord::Migration def change add_column :core_comments, :type, :string add_column :core_comments, :ancestry, :string add_column :core_comments, :ancestry_depth, :integer, :default => 0 rename_column :core_comments, :comment, :body end end
Version data entries
16 entries across 16 versions & 1 rubygems