preparing storage backend to store usermode and awaymessage for session restore
[quassel.git] / src / core / SQL / SQLite / 14 / setup_020_network.sql
similarity index 75%
rename from src/core/SQL/SQLite/13/setup_020_network.sql
rename to src/core/SQL/SQLite/14/setup_020_network.sql
index eb99a48..c4e864e 100644 (file)
@@ -16,6 +16,10 @@ CREATE TABLE network (
        autoreconnectretries INTEGER NOT NULL DEFAULT 0,
        unlimitedconnectretries INTEGER NOT NULL DEFAULT 0, -- BOOL
        rejoinchannels INTEGER NOT NULL DEFAULT 0, -- BOOL
-       connected INTEGER NOT NULL DEFAULT 1,
+       connected INTEGER NOT NULL DEFAULT 0, -- BOOL
+       usermode TEXT, -- user mode to restore
+       awaymessage TEXT, -- away message to restore (empty if not away)
+       attachperform TEXT, -- perform list for on attach
+       detachperform TEXT, -- perform list for on detach
        UNIQUE (userid, networkname)
 )