We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a4ae30 commit 87e9b4eCopy full SHA for 87e9b4e
migrations/2017110900000000_add_zoxc_compiler_team/down.sql
@@ -0,0 +1,5 @@
1
+DELETE FROM memberships m USING githubuser u, teams t
2
+WHERE
3
+ m.fk_member = u.id AND
4
+ m.fk_team = t.id AND
5
+ u.login = 'Zoxc' AND t.ping = 'rust-lang/compiler';
migrations/2017110900000000_add_zoxc_compiler_team/up.sql
+INSERT INTO memberships (fk_member, fk_team)
+SELECT u.id, t.id
+FROM githubuser u, teams t
+WHERE t.ping = 'rust-lang/compiler' AND
+ u.login = 'Zoxc';
0 commit comments