Category: sqlite

Is it possible to filter the user through roles (a JSON array) in EasyAdmin?

I use EasyadminBundle for the Backend of a Symfony application. I’d like to filter my users through their $roles with 1 table with only the ROLE_WEBMASTER, another on with the ROLE_ADMIN and the final one with the loosers (ROLE_UER). Unfortunately…

Symfony: refresh test database for phpunit testing with autoincrements reset on fixtures added

I want to create a fresh in memory sqlite test database to run my test against every time I run bin/phpunit. The solutions I have found so far empty the test database, but when I add the fixtures, their ids…