Sha256: 02668c6eb9108a5681065d61b97980ceffeb79f343ea5d4066d0110429f7c1a7

Contents?: true

Size: 297 Bytes

Versions: 1

Compression:

Stored size: 297 Bytes

Contents

class CreatePulitzerContentElements < ActiveRecord::Migration
  def change
    create_table :pulitzer_content_elements do |t|
      t.string :label
      t.string :title
      t.text :body
      t.integer :post_id
      t.integer :content_type_id

      t.timestamps null: false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pulitzer-0.0.1 db/migrate/20150619204708_create_pulitzer_content_elements.rb