From 03e577d04dadc8b2cc5109724f8f9411f3de5dd9 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sun, 24 Jun 2018 08:18:16 -0400 Subject: [PATCH] try supporting ubuntu trusty's postgres version --- contrib/backends/srndv2/src/srnd/postgres.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/backends/srndv2/src/srnd/postgres.go b/contrib/backends/srndv2/src/srnd/postgres.go index 535497b..f240c13 100644 --- a/contrib/backends/srndv2/src/srnd/postgres.go +++ b/contrib/backends/srndv2/src/srnd/postgres.go @@ -621,7 +621,7 @@ func (self *PostgresDatabase) upgrade7to8() { func (self *PostgresDatabase) upgrade8to9() { cmds := []string { - "ALTER TABLE ArticlePosts ADD COLUMN IF NOT EXISTS frontendpubkey TEXT DEFAULT ''", + "ALTER TABLE ArticlePosts ADD COLUMN IF NOT EXISTS frontendpubkey TEXT", "CREATE TABLE IF NOT EXISTS nntpchan_pubkeys(status VARCHAR(16) NOT NULL, pubkey VARCHAR(64) PRIMARY KEY)", } for _, cmd := range cmds {