jobs-monorepo/migrations/002_job_descriptions.down.sql
Elshimy Ziad Magdy Taha c341cb8ff8 init
2025-09-28 21:00:08 +05:00

12 lines
No EOL
442 B
SQL

-- Drop the trigger first
DROP TRIGGER IF EXISTS trigger_update_job_descriptions_timestamp ON job_descriptions;
-- Drop the trigger function
DROP FUNCTION IF EXISTS update_job_descriptions_updated_at();
-- Drop the indexes
DROP INDEX IF EXISTS idx_job_descriptions_criteria;
DROP INDEX IF EXISTS idx_job_descriptions_job_id;
-- Drop the table (this will automatically drop any remaining dependencies)
DROP TABLE IF EXISTS job_descriptions;