Archived
1
0

try again

This commit is contained in:
Jeff Becker 2018-06-24 08:19:39 -04:00
parent 03e577d04d
commit ec714e03de
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -621,7 +621,7 @@ func (self *PostgresDatabase) upgrade7to8() {
func (self *PostgresDatabase) upgrade8to9() { func (self *PostgresDatabase) upgrade8to9() {
cmds := []string { cmds := []string {
"ALTER TABLE ArticlePosts ADD COLUMN IF NOT EXISTS frontendpubkey TEXT", "ALTER TABLE ArticlePosts ADD COLUMN frontendpubkey TEXT",
"CREATE TABLE IF NOT EXISTS nntpchan_pubkeys(status VARCHAR(16) NOT NULL, pubkey VARCHAR(64) PRIMARY KEY)", "CREATE TABLE IF NOT EXISTS nntpchan_pubkeys(status VARCHAR(16) NOT NULL, pubkey VARCHAR(64) PRIMARY KEY)",
} }
for _, cmd := range cmds { for _, cmd := range cmds {