diff options
Diffstat (limited to 'db/migrate/20140209025651_create_emails.rb')
-rw-r--r-- | db/migrate/20140209025651_create_emails.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/db/migrate/20140209025651_create_emails.rb b/db/migrate/20140209025651_create_emails.rb deleted file mode 100644 index cb78c4af11b..00000000000 --- a/db/migrate/20140209025651_create_emails.rb +++ /dev/null @@ -1,13 +0,0 @@ -class CreateEmails < ActiveRecord::Migration - def change - create_table :emails do |t| - t.integer :user_id, null: false - t.string :email, null: false - - t.timestamps - end - - add_index :emails, :user_id - add_index :emails, :email, unique: true - end -end |