Run analyze after changing post.url type (ref #4983)

This commit is contained in:
Felix Ableitner 2024-10-30 10:59:21 +01:00
parent a4f63294de
commit 1e1ac12ecc
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);