Sha256: 6f34163ef9b75652a4ad617a016c84f50affb594373a1dda18b37bb440fde7ed

Contents?: true

Size: 438 Bytes

Versions: 1

Compression:

Stored size: 438 Bytes

Contents

# frozen_string_literal: true

class CreateNuntiusCampaigns < ActiveRecord::Migration[5.2]
  def change
    create_table :nuntius_campaigns, id: :uuid do |t|
      t.string :name
      t.string :transport, default: 'mail'
      t.references :list, index: true, type: :uuid, foreign_key: { to_table: :nuntius_lists }

      t.string :from
      t.string :subject
      t.text :text
      t.text :html

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nuntius-1.0.27 db/migrate/20190322114340_create_nuntius_campaigns.rb