Sha256: 6b5c00cefba23198d1a8be0b0a0f94836d9587e02e2a041239db9981cbfd38d6

Contents?: true

Size: 209 Bytes

Versions: 2

Compression:

Stored size: 209 Bytes

Contents

class CreatePrivatePosts < ActiveRecord::Migration
  def change
    create_table :private_posts do |t|
      t.string :title
      t.text :body
      t.boolean :published

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_token_authentication-1.0.0.pre.5 test/dummy/db/migrate/20140107064508_create_private_posts.rb
simple_token_authentication-1.0.0.beta.5 test/dummy/db/migrate/20140107064508_create_private_posts.rb