Skip to content

Commit 9bd609e

Browse files
committed
chore: Remove dev SQL statement
1 parent cdb0816 commit 9bd609e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

internal/database/schema.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)