lemmy/migrations/2023-06-06-104440_index_pos.../down.sql

8 lines
125 B
MySQL
Raw Permalink Normal View History

-- Change back the column type
ALTER TABLE post
ALTER COLUMN url TYPE text;
-- Drop the index
DROP INDEX idx_post_url;