Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use a better index for hashed_url | Jeremy Benoist | 2019-04-01 | 1 | -4/+1 |
| | | | | | | It'll most often be used in addition to the `user_id`. Also, automatically generate the hash when saving the url. Switch from `md5` to `sha1`. | ||||
* | Keep url in exists endpoint | Jeremy Benoist | 2019-04-01 | 1 | -4/+4 |
| | | | | | | - Add migration - Use md5 instead of sha512 (we don't need security here, just a hash) - Update tests | ||||
* | Hash the urls to check if they exist | Thomas Citharel | 2019-04-01 | 1 | -0/+101 |
Signed-off-by: Thomas Citharel <tcit@tcit.fr> |