lemmy/migrations/2024-08-03-155932_increase_post_url_max_length/down.sql
Dessalines 33fd31754a
Adding a URL max length lemmy error. (#4960)
* 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.
2024-08-04 09:45:53 -04:00

4 lines
58 B
SQL

ALTER TABLE post
ALTER COLUMN url TYPE varchar(512);