SQL-Queries are now stored in a resource. The bashscript
[quassel.git] / src / core / SQL / SQLite / 1 / setup_060_backlog.sql
diff --git a/src/core/SQL/SQLite/1/setup_060_backlog.sql b/src/core/SQL/SQLite/1/setup_060_backlog.sql
new file mode 100644 (file)
index 0000000..d3e191d
--- /dev/null
@@ -0,0 +1,8 @@
+CREATE TABLE backlog (
+       messageid INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
+       time INTEGER NOT NULL,
+       bufferid INTEGER NOT NULL,
+       type INTEGER NOT NULL,
+       flags INTEGER NOT NULL,
+       senderid INTEGER NOT NULL,
+       message TEXT)