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 GitHub
parent 18bf9843bc
commit 4690aff1e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

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

View file

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