mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-01 16:51:21 +00:00
Run analyze after changing post.url type (ref #4983)
This commit is contained in:
parent
a4f63294de
commit
1e1ac12ecc
2 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue