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>
This commit is contained in:
Nutomic 2024-11-04 14:16:54 +01:00 committed by Felix Ableitner
parent 10a28e78d9
commit 6c22cdeb96
2 changed files with 4 additions and 0 deletions

View file

@ -1,3 +1,5 @@
ALTER TABLE post ALTER TABLE post
ALTER COLUMN url TYPE varchar(512); ALTER COLUMN url TYPE varchar(512);
ANALYZE post (url);

View file

@ -3,3 +3,5 @@
ALTER TABLE post ALTER TABLE post
ALTER COLUMN url TYPE varchar(2000); ALTER COLUMN url TYPE varchar(2000);
ANALYZE post (url);