mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
2d588715bc
Summary: Fixes T9995. I think letting users customize slugs is not a hugely compelling as a product feature, and this fixes the issue with slugs that have "/" characters in them and makes the move to EditEngine easier since I don't have to deal with the weird JS thing. Instead, just generate slugs automatically. No more JS, no more separate field, things automatically update if you rename a blog, and now that URIs have IDs in them the old URI will still work after a rename. Test Plan: - Applied migration. - Created new posts. - Edited existing posts. - Visited various posts. - Created a post with a bunch of "/" in the title, things still worked fine. Reviewers: chad Reviewed By: chad Maniphest Tasks: T9995 Differential Revision: https://secure.phabricator.com/D14792
5 lines
176 B
SQL
5 lines
176 B
SQL
ALTER TABLE {$NAMESPACE}_phame.phame_post
|
|
DROP KEY phameTitle;
|
|
|
|
ALTER TABLE {$NAMESPACE}_phame.phame_post
|
|
CHANGE phameTitle phameTitle VARCHAR(64) COLLATE {$COLLATE_SORT};
|