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

Version Path
social_stream-0.12.4 documents/db/migrate/20111005112707_add_title_and_description_to_document.rb
social_stream-documents-0.4.3 db/migrate/20111005112707_add_title_and_description_to_document.rb
social_stream-0.12.3 documents/db/migrate/20111005112707_add_title_and_description_to_document.rb
social_stream-0.12.2 documents/db/migrate/20111005112707_add_title_and_description_to_document.rb
social_stream-documents-0.4.2 db/migrate/20111005112707_add_title_and_description_to_document.rb
social_stream-0.12.1 documents/db/migrate/20111005112707_add_title_and_description_to_document.rb
social_stream-documents-0.4.1 db/migrate/20111005112707_add_title_and_description_to_document.rb
social_stream-0.12.0 documents/db/migrate/20111005112707_add_title_and_description_to_document.rb
social_stream-documents-0.4.0 db/migrate/20111005112707_add_title_and_description_to_document.rb
social_stream-0.11.8 documents/db/migrate/20111005112707_add_title_and_description_to_document.rb
social_stream-documents-0.3.3 db/migrate/20111005112707_add_title_and_description_to_document.rb
social_stream-0.11.7 documents/db/migrate/20111005112707_add_title_and_description_to_document.rb
social_stream-0.11.6 documents/db/migrate/20111005112707_add_title_and_description_to_document.rb
social_stream-documents-0.3.2 db/migrate/20111005112707_add_title_and_description_to_document.rb
social_stream-0.11.5 documents/db/migrate/20111005112707_add_title_and_description_to_document.rb
social_stream-0.11.4 documents/db/migrate/20111005112707_add_title_and_description_to_document.rb
social_stream-0.11.3 documents/db/migrate/20111005112707_add_title_and_description_to_document.rb
social_stream-0.11.2 documents/db/migrate/20111005112707_add_title_and_description_to_document.rb
social_stream-0.11.1 documents/db/migrate/20111005112707_add_title_and_description_to_document.rb
social_stream-documents-0.3.1 db/migrate/20111005112707_add_title_and_description_to_document.rb