Sha256: 3ef119398645a74a131c1be6307fd9ce6647ecd82c9cb2229536437c477e2481
Contents?: true
Size: 556 Bytes
Versions: 103
Compression:
Stored size: 556 Bytes
Contents
class CreateContactEmails < ActiveRecord::Migration[4.2] def change create_table(:spotlight_contact_emails) do |t| t.references :exhibit t.string :email, :null => false, :default => "" t.string :confirmation_token t.datetime :confirmed_at t.datetime :confirmation_sent_at t.string :unconfirmed_email t.timestamps end add_index :spotlight_contact_emails, [:email, :exhibit_id], :unique => true add_index :spotlight_contact_emails, :confirmation_token, :unique => true end end
Version data entries
103 entries across 103 versions & 1 rubygems