Sha256: 7483a06d1525c8398b7ad98beb8b1f8b7033d6123f41e4742f59193d3979566f

Contents?: true

Size: 381 Bytes

Versions: 32

Compression:

Stored size: 381 Bytes

Contents

module Blog::Models
  class CreateComment < V 1.0
    def self.up
      create_table :blog_comments do |t|
        t.column :id        , :integer  , :null => false
        t.column :post_id   , :integer  , :null => false
        t.column :username  , :string
        t.column :body      , :text
      end
    end
    def self.down
      drop_table :blog_comments
    end
  end
end

Version data entries

32 entries across 21 versions & 1 rubygems

Version Path
bivouac-0.0.6 examples/blog_goh/db/migrate/comment.rb
bivouac-0.0.7 examples/blog_goh/db/migrate/comment.rb
bivouac-0.0.3 examples/blog_erb/db/migrate/comment.rb
bivouac-0.0.3 examples/blog_goh/db/migrate/comment.rb
bivouac-0.0.4 examples/blog_erb/db/migrate/comment.rb
bivouac-0.0.4 examples/blog_goh/db/migrate/comment.rb
bivouac-0.0.5 examples/blog_erb/db/migrate/comment.rb
bivouac-0.0.5 examples/blog_goh/db/migrate/comment.rb
bivouac-0.0.6 examples/blog_erb/db/migrate/comment.rb
bivouac-0.0.7 examples/blog_erb/db/migrate/comment.rb
bivouac-0.0.8 examples/blog_erb/db/migrate/comment.rb
bivouac-0.1.1 examples/blog_goh/db/migrate/comment.rb
bivouac-0.0.8 examples/blog_goh/db/migrate/comment.rb
bivouac-0.0.9 examples/blog_erb/db/migrate/comment.rb
bivouac-0.0.9 examples/blog_goh/db/migrate/comment.rb
bivouac-0.1.1 examples/blog_erb/db/migrate/comment.rb
bivouac-0.1.0 examples/blog_goh/db/migrate/comment.rb
bivouac-0.1.0 examples/blog_erb/db/migrate/comment.rb
bivouac-0.1.2 examples/blog_goh/db/migrate/comment.rb
bivouac-0.1.2 examples/blog_erb/db/migrate/comment.rb