Rename database upgrade.

This commit is contained in:
Otto Hollmann 2022-04-10 11:43:12 +02:00
parent 3f6b714506
commit 5f9ece8e0a
No known key found for this signature in database
GPG Key ID: 101D022F467ECE22
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import (
) )
func init() { func init() {
upgrades[20] = upgrade{"Add password columns to user table.", func(tx *sql.Tx, c context) error { upgrades[20] = upgrade{"Add password column to user table.", func(tx *sql.Tx, c context) error {
if c.dialect == Postgres { if c.dialect == Postgres {
_, err := tx.Exec(`ALTER TABLE "user" ADD COLUMN password VARCHAR(255)`) _, err := tx.Exec(`ALTER TABLE "user" ADD COLUMN password VARCHAR(255)`)
if err != nil { if err != nil {