X-Git-Url: http://git.squeep.com/?p=squeep-indie-auther;a=blobdiff_plain;f=src%2Fdb%2Fsqlite%2Fsql%2Fscope-insert.sql;fp=src%2Fdb%2Fsqlite%2Fsql%2Fscope-insert.sql;h=78d26c00b7ef1174a0e9e610ec7edbeab6996383;hp=0000000000000000000000000000000000000000;hb=b0103b0d496262c438b40bc20304081dbfe41e73;hpb=8ed81748bce7cea7904cac7225b20a60cafdfc16 diff --git a/src/db/sqlite/sql/scope-insert.sql b/src/db/sqlite/sql/scope-insert.sql new file mode 100644 index 0000000..78d26c0 --- /dev/null +++ b/src/db/sqlite/sql/scope-insert.sql @@ -0,0 +1,5 @@ +-- Insert an externally-provided scope, or ignore. +INSERT INTO scope + (scope) +VALUES (:scope) +ON CONFLICT (scope) DO NOTHING