fiedl/your_platform

View on GitHub
demo_app/my_platform/db/migrate/20150930184703_create_post_deliveries.your_platform.rb

Summary

Maintainability
A
0 mins
Test Coverage
# This migration comes from your_platform (originally 20150930184624)
class CreatePostDeliveries < ActiveRecord::Migration[4.2]
  def change
    create_table :post_deliveries do |t|
      t.integer :post_id
      t.integer :user_id
      t.string :user_email
      t.datetime :sent_at
      t.datetime :failed_at
      t.string :comment

      t.timestamps null: false
    end
  end
end