Files
bit/db/migrations/20240512225208_add_slug_index_to_links.sql
T
2024-05-12 23:21:14 +02:00

8 lines
271 B
SQL

-- +micrate Up
-- SQL in section 'Up' is executed when this migration is applied
CREATE INDEX IF NOT EXISTS index_links_slug ON links (slug);
-- +micrate Down
-- SQL in section 'Down' is executed when this migration is rolled back
DROP INDEX IF EXISTS index_links_slug;