We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a3a2b1 commit 3530771Copy full SHA for 3530771
migrations/20170804200817_add_email_table/up.sql
@@ -14,4 +14,4 @@ CREATE table tokens (
14
);
15
16
INSERT INTO emails (user_id, email)
17
- SELECT id, email FROM users;
+ SELECT id, email FROM users WHERE email IS NOT NULL;
0 commit comments