blog/backend/migrations/20251011200359_add_semantic_id_to_post.down.sql

6 lines
187 B
SQL

-- Drop the unique index on semantic_id
DROP INDEX IF EXISTS idx_post_semantic_id;
-- Remove the semantic_id column from post table
ALTER TABLE post DROP COLUMN IF EXISTS "semantic_id";