From dfadc8eb4efd0bf810ea34a854699591ea904beb Mon Sep 17 00:00:00 2001 From: Rene Fichtmueller Date: Mon, 20 Apr 2026 23:16:52 +0200 Subject: [PATCH] fix: add certifications column to switches table (migration 039a) --- sql/039a-switch-certifications-column.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 sql/039a-switch-certifications-column.sql diff --git a/sql/039a-switch-certifications-column.sql b/sql/039a-switch-certifications-column.sql new file mode 100644 index 0000000..aac8585 --- /dev/null +++ b/sql/039a-switch-certifications-column.sql @@ -0,0 +1,5 @@ +-- Migration 039a — Add certifications column to switches table +-- The core table creation (002) omitted this column; added here before the seed (040). + +ALTER TABLE switches + ADD COLUMN IF NOT EXISTS certifications TEXT[] DEFAULT '{}';