initial commit
[squeep-indie-auther] / src / db / sqlite / sql / token-scope-set.sql
diff --git a/src/db/sqlite/sql/token-scope-set.sql b/src/db/sqlite/sql/token-scope-set.sql
new file mode 100644 (file)
index 0000000..7b52dc6
--- /dev/null
@@ -0,0 +1,3 @@
+--
+INSERT INTO token_scope (code_id, scope_id)
+       SELECT :codeId, scope_id FROM scope WHERE scope = :scope