Fix syntax error in SQL
authorJanne Koschinski <janne@kuschku.de>
Sat, 23 Sep 2017 08:33:09 +0000 (10:33 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 19 Dec 2017 20:10:11 +0000 (21:10 +0100)
Migration failed because of a syntax error in an SQL file.
13 columns were to be written to, but only 11 placeholders
existed.

src/core/SQL/PostgreSQL/migrate_write_buffer.sql

index 8f1e5e9..ba80880 100644 (file)
@@ -1,2 +1,2 @@
 INSERT INTO buffer (bufferid, userid, groupid, networkid, buffername, buffercname, buffertype, lastmsgid, lastseenmsgid, markerlinemsgid, bufferactivity, key, joined)
 INSERT INTO buffer (bufferid, userid, groupid, networkid, buffername, buffercname, buffertype, lastmsgid, lastseenmsgid, markerlinemsgid, bufferactivity, key, joined)
-VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
+VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)