fix: rename device_type enum 'handled' to 'handheld', add image column

This commit is contained in:
2026-04-27 20:33:25 +08:00
parent de858081e0
commit ecd83b1d70
3 changed files with 9 additions and 3 deletions
@@ -0,0 +1,5 @@
-- Rename pg_enum value from 'handled' to 'handheld'
ALTER TYPE device_type RENAME VALUE 'handled' TO 'handheld';
-- Add nullable image column to hardware table
ALTER TABLE hardware ADD COLUMN image text;