Fix lastseenmsgid updates in PostgreSQL
[quassel.git] / src / core / SQL / PostgreSQL / 20 / insert_network.sql
1 INSERT INTO network (userid, networkname, identityid, servercodec, encodingcodec, decodingcodec,
2                      userandomserver, perform, useautoidentify, autoidentifyservice,
3                      autoidentifypassword, useautoreconnect, autoreconnectinterval,
4                      autoreconnectretries, unlimitedconnectretries, rejoinchannels, usesasl,
5                      saslaccount, saslpassword, usecustomessagerate, messagerateburstsize,
6                      messageratedelay, unlimitedmessagerate)
7 VALUES (:userid, :networkname, :identityid, :servercodec, :encodingcodec, :decodingcodec,
8         :userandomserver, :perform, :useautoidentify, :autoidentifyservice, :autoidentifypassword,
9         :useautoreconnect, :autoreconnectinterval, :autoreconnectretries, :unlimitedconnectretries,
10         :rejoinchannels, :usesasl, :saslaccount, :saslpassword, :usecustomessagerate,
11         :messagerateburstsize, :messageratedelay, :unlimitedmessagerate)
12 RETURNING networkid