mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-30 00:01:25 +00:00
Nutomic
4690aff1e5
* Run analyze after changing post.url type (ref #4983) * rename back --------- Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
7 lines
243 B
SQL
7 lines
243 B
SQL
-- Change the post url max limit to 2000
|
|
-- From here: https://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers#417184
|
|
ALTER TABLE post
|
|
ALTER COLUMN url TYPE varchar(2000);
|
|
|
|
ANALYZE post (url);
|
|
|