X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2FSQL%2FSQLite%2F7%2Finsert_message.sql;fp=src%2Fcore%2FSQL%2FSQLite%2F7%2Finsert_message.sql;h=20facb8aeef12fc8de86536d39aaead580672398;hb=76929fefa96b80fe4f3be89c334c820b13ad7e3b;hp=0000000000000000000000000000000000000000;hpb=3a99cf632f7918b85087373272904f6ed17cca25;p=quassel.git diff --git a/src/core/SQL/SQLite/7/insert_message.sql b/src/core/SQL/SQLite/7/insert_message.sql new file mode 100644 index 00000000..20facb8a --- /dev/null +++ b/src/core/SQL/SQLite/7/insert_message.sql @@ -0,0 +1,2 @@ +INSERT INTO backlog (time, bufferid, type, flags, senderid, message) +VALUES (:time, :bufferid, :type, :flags, (SELECT senderid FROM sender WHERE sender = :sender), :message)