try again
This commit is contained in:
parent
03e577d04d
commit
ec714e03de
@ -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 {
|
||||||
|
Reference in New Issue
Block a user