Sha256: cb88e6e8d14818c1830c0c5b11d17e4cf137c92ed62406829c92a952b359f394
Contents?: true
Size: 302 Bytes
Versions: 102
Compression:
Stored size: 302 Bytes
Contents
class AddTitleAndDescriptionToDocument < ActiveRecord::Migration def self.up add_column :documents, :title, :string add_column :documents, :description, :text end def self.down remove_column :documents, :title remove_column :documents, :description end end
Version data entries
102 entries across 102 versions & 4 rubygems