core: Separate SQL current and upgrade scripts
[quassel.git] / src / core / SQL / SQLite / select_networks_for_user.sql
diff --git a/src/core/SQL/SQLite/select_networks_for_user.sql b/src/core/SQL/SQLite/select_networks_for_user.sql
new file mode 100644 (file)
index 0000000..a5395dc
--- /dev/null
@@ -0,0 +1,7 @@
+SELECT networkid, networkname, identityid, servercodec, encodingcodec, decodingcodec,
+       userandomserver, perform, useautoidentify, autoidentifyservice, autoidentifypassword,
+       useautoreconnect, autoreconnectinterval, autoreconnectretries, unlimitedconnectretries,
+       rejoinchannels, usesasl, saslaccount, saslpassword, usecustomessagerate,
+       messagerateburstsize, messageratedelay, unlimitedmessagerate
+FROM network
+WHERE userid = :userid