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