Sha256: f30a347695914d7ca6ade3d883722e3db46529480dbdf84df2bea15f79800ad4

Contents?: true

Size: 280 Bytes

Versions: 3

Compression:

Stored size: 280 Bytes

Contents

class CreateBlogrPosts < ActiveRecord::Migration
  def change
    create_table :blogr_posts do |t|
      t.string :title
      t.text :content
      t.string :permalink
      t.boolean :published, default: false
      t.datetime :published_at

      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blogr-0.0.8 db/migrate/20131016225633_create_blogr_posts.rb
blogr-0.0.7 db/migrate/20131016225633_create_blogr_posts.rb
blogr-0.0.6 db/migrate/20131016225633_create_blogr_posts.rb