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.15.31 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.15.30 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.15.29 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.15.28 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.15.27 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.15.26 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.15.25 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.15.24 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.15.23 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.15.22 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.15.21 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.15.20 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.15.19 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.15.18 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.15.17 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.15.16 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.15.15 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.15.14 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.15.13 db/migrate/20150619204615_create_pulitzer_posts.rb
pulitzer-0.15.12 db/migrate/20150619204615_create_pulitzer_posts.rb