Sha256: 1d2b0ade19af3778906368bbb6eed9504c56927217d1da8ccf94e8fd99674e76

Contents?: true

Size: 247 Bytes

Versions: 15

Compression:

Stored size: 247 Bytes

Contents

class CreatePosts < ActiveRecord::Migration
  def change
    create_table :posts do |t|
      t.string :title
      t.text :body
      t.boolean :published
      t.string :permalink
      t.date :published_at

      t.timestamps
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
crowdblog-0.0.16 db/migrate/20120217213920_create_posts.rb
crowdblog-0.0.15 db/migrate/20120217213920_create_posts.rb
crowdblog-0.0.14 db/migrate/20120217213920_create_posts.rb
crowdblog-0.0.13 db/migrate/20120217213920_create_posts.rb
crowdblog-0.0.12 db/migrate/20120217213920_create_posts.rb
crowdblog-0.0.10 db/migrate/20120217213920_create_posts.rb
crowdblog-0.0.9 db/migrate/20120217213920_create_posts.rb
crowdblog-0.0.8 db/migrate/20120217213920_create_posts.rb
crowdblog-0.0.7 db/migrate/20120217213920_create_posts.rb
crowdblog-0.0.6 db/migrate/20120217213920_create_posts.rb
crowdblog-0.0.5 db/migrate/20120217213920_create_posts.rb
crowdblog-0.0.4 db/migrate/20120217213920_create_posts.rb
crowdblog-0.0.3 db/migrate/20120217213920_create_posts.rb
crowdblog-0.0.2 db/migrate/20120217213920_create_posts.rb
crowdblog-0.0.1 db/migrate/20120217213920_create_posts.rb