mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 06:36:14 +00:00
4690aff1e5
* Run analyze after changing post.url type (ref #4983) * rename back --------- Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
8 lines
243 B
SQL
8 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);
|
|
|