lemmy/migrations/2024-08-03-155932_increase_post_url_max_length/down.sql
Nutomic 6c22cdeb96 Run analyze after changing post.url type (ref #4983) (#5148)
* Run analyze after changing post.url type (ref #4983)

* rename back

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2024-11-04 14:17:22 +01:00

5 lines
79 B
SQL

ALTER TABLE post
ALTER COLUMN url TYPE varchar(512);
ANALYZE post (url);