File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -261,13 +261,10 @@ func v3(db *DB) error {
261261 slog .Debug ("[DB] Migrating database schema version 3" )
262262
263263 // table: tbl_node
264- // TODO: Remove IF NOT EXISTS SQL statement below after merging to main
265- // branch. The statement only to accomodate commit 518d4b4 so future main
266- // branch keep on schema version 3.
267264 slog .Debug ("[DB] Adding additional columns to tbl_node" )
268265 _ , err := db .Exec (`
269266 ALTER TABLE tbl_node
270- ADD COLUMN IF NOT EXISTS ipv6_only TINYINT(1) UNSIGNED NOT NULL DEFAULT '0' AFTER cors_capable,
267+ ADD COLUMN ipv6_only TINYINT(1) UNSIGNED NOT NULL DEFAULT '0' AFTER cors_capable,
271268 ADD COLUMN ip_addresses TEXT NOT NULL DEFAULT '' AFTER cors_capable;` )
272269 if err != nil {
273270 return err
You can’t perform that action at this time.
0 commit comments