Sha256: 9b331188d0f0a8a082f292f4e33e08e18dd55c7738dd12f51eddb16f249df36c
Contents?: true
Size: 240 Bytes
Versions: 2
Compression:
Stored size: 240 Bytes
Contents
class CreateComments < ActiveRecord::Migration def self.up create_table :comments do |t| t.integer :blog_id, :null => false t.text :body t.timestamps end end def self.down drop_table :comments end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
socialcast_shoulda_ext-0.1.4 | test/rails3_root/db/migrate/20110411025332_create_comments.rb |
socialcast_shoulda_ext-0.1.2 | test/rails3_root/db/migrate/20110411025332_create_comments.rb |