]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Use a better index for hashed_url
authorJeremy Benoist <jeremy.benoist@gmail.com>
Mon, 1 Apr 2019 11:51:57 +0000 (13:51 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Mon, 1 Apr 2019 11:51:57 +0000 (13:51 +0200)
commit8a6456629814039cfc623cdb279bcba06dacff50
treeb3ae2459651b6ad085588fca0c624c6df554deb3
parent9c2b2aae70b06411336e6eb6ac43b3ebd30dc38c
Use a better index for hashed_url

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`.
app/DoctrineMigrations/Version20190401105353.php
src/Wallabag/CoreBundle/Command/GenerateUrlHashesCommand.php
src/Wallabag/CoreBundle/DataFixtures/EntryFixtures.php
src/Wallabag/CoreBundle/Entity/Entry.php
src/Wallabag/CoreBundle/Helper/ContentProxy.php
tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php
tests/Wallabag/CoreBundle/Command/GenerateUrlHashesCommandTest.php