Sha256: 445998a0312d6e1651bebe23ce7071fc4323e146b7529ca1365dad8f632b89c4

Contents?: true

Size: 352 Bytes

Versions: 1

Compression:

Stored size: 352 Bytes

Contents

class CreateBlastContactsContacts < ActiveRecord::Migration[5.2]
  def change
    create_table :blast_contacts_contacts do |t|
      t.string :first_name
      t.string :last_name
      t.string :company
      t.string :email
      t.string :phone
      t.references :user, foreign_key: { to_table: :blast_users }

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blast_contacts-0.0.1 db/migrate/20211217071056_create_blast_contacts_contacts.rb