Sprankelprachtig aan/afmeldsysteem

20161208092632_unique_emails_for_persons_and_users.rb 182B

1234567
  1. class UniqueEmailsForPersonsAndUsers < ActiveRecord::Migration[5.0]
  2. def change
  3. add_index :users, [:email], unique: true
  4. add_index :people, [:email], unique: true
  5. end
  6. end