Schema changes for SASL support
[quassel.git] / src / core / SQL / PostgreSQL / 16 / select_networks_for_user.sql
diff --git a/src/core/SQL/PostgreSQL/16/select_networks_for_user.sql b/src/core/SQL/PostgreSQL/16/select_networks_for_user.sql
new file mode 100644 (file)
index 0000000..9bef405
--- /dev/null
@@ -0,0 +1,6 @@
+SELECT networkid, networkname, identityid, servercodec, encodingcodec, decodingcodec,
+       userandomserver, perform, useautoidentify, autoidentifyservice, autoidentifypassword,
+       useautoreconnect, autoreconnectinterval, autoreconnectretries, unlimitedconnectretries, rejoinchannels,
+       usesasl, saslaccount, saslpassword
+FROM network
+WHERE userid = :userid