Sha256: e8ec80f631af4641b71925441210da4112243483e6f7db61ded84fedb716fdea

Contents?: true

Size: 420 Bytes

Versions: 3

Compression:

Stored size: 420 Bytes

Contents

class CreatePoBoxEmails < ActiveRecord::Migration[7.0]
  def change
    create_table :po_box_emails do |t|
      t.references :inbox, foreign_key: {to_table: :po_box_inboxes}
      t.string :cc
      t.string :from
      t.boolean :multipart
      t.boolean :read, default: false, null: false
      t.string :subject
      t.string :to
      t.string :message_id
      t.text :body

      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
po_box-0.1.2 db/migrate/20230426005820_create_po_box_emails.rb
po_box-0.1.1 db/migrate/20230426005820_create_po_box_emails.rb
po_box-0.1.0 db/migrate/20230426005820_create_po_box_emails.rb