Files

3 lines
192 B
SQL
Raw Permalink Normal View History

2025-08-08 00:22:28 +07:00
-- Add deleted_at column to units table for soft delete functionality
ALTER TABLE units ADD COLUMN deleted_at TIMESTAMP WITH TIME ZONE;
CREATE INDEX idx_units_deleted_at ON units(deleted_at);