X-Git-Url: http://git.squeep.com/?p=squeep-indie-auther;a=blobdiff_plain;f=src%2Fdb%2Fsqlite%2Fsql%2Ftoken-scopes-get-by-code-id.sql;fp=src%2Fdb%2Fsqlite%2Fsql%2Ftoken-scopes-get-by-code-id.sql;h=5bd7b30dddf77333dbb0b31f4a762fab3903a429;hp=0000000000000000000000000000000000000000;hb=b0103b0d496262c438b40bc20304081dbfe41e73;hpb=8ed81748bce7cea7904cac7225b20a60cafdfc16 diff --git a/src/db/sqlite/sql/token-scopes-get-by-code-id.sql b/src/db/sqlite/sql/token-scopes-get-by-code-id.sql new file mode 100644 index 0000000..5bd7b30 --- /dev/null +++ b/src/db/sqlite/sql/token-scopes-get-by-code-id.sql @@ -0,0 +1,4 @@ +-- +SELECT s.scope FROM token_scope ts + INNER JOIN scope s USING (scope_id) + WHERE ts.code_id = :codeId