Sha256: 76ddfebb0ea1f2ed8bdf6cac3e0729b3cccdf832345fe127306c8789ee0fd8d2

Contents?: true

Size: 254 Bytes

Versions: 115

Compression:

Stored size: 254 Bytes

Contents

class CreatePulitzerPosts < ActiveRecord::Migration
  def change
    create_table :pulitzer_posts do |t|
      t.string :title
      t.integer :post_type_id
      t.string :status, default: 'unpublished'

      t.timestamps null: false
    end
  end
end

Version data entries

115 entries across 113 versions & 1 rubygems

Version Path
pulitzer-0.4.5 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.4.4 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.4.3 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.4.2 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.4.1 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.4.0 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.3.9 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.3.8 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.3.7 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.3.6 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.3.5 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.3.4 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.3.3 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.3.2 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.3.1 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.3.0 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.2.2 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.2.1 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.2.0 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.1.10 db/migrate/20150619204615_create_pulitzer_posts.rb