feat: redirect by slug

This commit is contained in:
Juan Rodriguez
2024-05-12 23:21:14 +02:00
parent c806953b9a
commit b34a52f3e0
5 changed files with 39 additions and 13 deletions
@@ -0,0 +1,7 @@
-- +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;