Sha256: 74b4b96c6a369d9887d2807a54cbc4461cbb6c0bc6da28ec371721af1db413ed

Contents?: true

Size: 393 Bytes

Versions: 4

Compression:

Stored size: 393 Bytes

Contents

class CreateMiniblogPosts < ActiveRecord::Migration
  def change
    create_table :miniblog_posts do |t|
      t.string :title
      t.text :body
      t.string :permalink
      t.datetime :published_at
      t.integer :author_id
      t.string :state
      t.integer :publisher_id
      t.boolean :ready_for_review
      t.datetime :marked_for_review_at

      t.timestamps
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
miniblog-1.0.2 db/migrate/20120217213920_create_miniblog_posts.rb
miniblog-1.0.1 db/migrate/20120217213920_create_miniblog_posts.rb
miniblog-1.0.0 db/migrate/20120217213920_create_miniblog_posts.rb
miniblog-1.0.0.beta db/migrate/20120217213920_create_miniblog_posts.rb