mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
33fd31754a
* Adding a URL max length error. - Also increasing the post.url max length to 2000 (seems standard) - I ran into this when fixing torrent support, which often use longer urls. * Fixing sql_format.
6 lines
222 B
SQL
6 lines
222 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);
|
|
|