Sha256: 9326003955c42094d489292868dec34a9156cd6dbe0c151a577a2bdf9b17db6d

Contents?: true

Size: 420 Bytes

Versions: 1

Compression:

Stored size: 420 Bytes

Contents

# frozen_string_literal: true

class CreateNuntiusSubscribers < ActiveRecord::Migration[5.2]
  def change
    create_table :nuntius_subscribers, id: :uuid do |t|
      t.references :list, index: true, type: :uuid, foreign_key: { to_table: :nuntius_lists }

      t.string :first_name
      t.string :last_name
      t.string :email
      t.string :phone_number
      t.string :tags

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nuntius-1.0.27 db/migrate/20190322121338_create_nuntius_subscribers.rb