]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Fix utf8mb4 on vendor tables 3758/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Wed, 28 Nov 2018 19:26:18 +0000 (20:26 +0100)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Wed, 28 Nov 2018 21:04:55 +0000 (22:04 +0100)
commit877787e5fe6a6545105616968939949b4db81347
treedc7d2ecf643f9c28b75e4fdb5efc121dcafe3536
parent9a8a1bdfdbc87047bffb457370e04ef58a24495c
Fix utf8mb4 on vendor tables

When creating the schema for test these tables use default length for
string: 255. Which fail when using utf8mb4.

> Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes

Also move the `setKeepStaticConnections` in before and after class to
avoid:

> SAVEPOINT DOCTRINE2_SAVEPOINT_2 does not exist

See https://github.com/dmaicher/doctrine-test-bundle#troubleshooting
app/DoctrineMigrations/Version20180405182455.php
app/DoctrineMigrations/Version20181128203230.php [new file with mode: 0644]
src/Wallabag/ApiBundle/Entity/AccessToken.php
src/Wallabag/ApiBundle/Entity/AuthCode.php
src/Wallabag/ApiBundle/Entity/RefreshToken.php
tests/Wallabag/CoreBundle/Command/InstallCommandTest.php