Sha256: 8b6482ecdf5e8f7925cd0c5d03681702c618961f88162a28d5f01d2b4d2e2dd7
Contents?: true
Size: 468 Bytes
Versions: 10
Compression:
Stored size: 468 Bytes
Contents
class AddAnonymousCommentingFields < ActiveRecord::Migration def self.up add_column :comments, :author_name, :string add_column :comments, :author_email, :string add_column :comments, :author_url, :string add_column :comments, :author_ip, :string end def self.down remove_column :comments, :author_name remove_column :comments, :author_email remove_column :comments, :author_url remove_column :comments, :author_ip end end
Version data entries
10 entries across 10 versions & 1 rubygems