diff --git a/internal/storage/sql_provider.go b/internal/storage/sql_provider.go index 83850133f..e86ab2405 100644 --- a/internal/storage/sql_provider.go +++ b/internal/storage/sql_provider.go @@ -34,7 +34,7 @@ type SQLProvider struct { func (p *SQLProvider) initialize(db *sql.DB) error { p.db = db - _, err := db.Exec(fmt.Sprintf("CREATE TABLE IF NOT EXISTS %s (username VARCHAR(100) PRIMARY KEY, second_factor_method VARCHAR(10))", preferencesTableName)) + _, err := db.Exec(fmt.Sprintf("CREATE TABLE IF NOT EXISTS %s (username VARCHAR(100) PRIMARY KEY, second_factor_method VARCHAR(11))", preferencesTableName)) if err != nil { return err }