I have emptied the database on an existing Contao 5 installation for testing. The use case is very common, because theme users first want to play around and then want to work with a fresh database.
The error can be reproduced as follows
Empty database
Call Manager and run check
Manager now wants to create an administrator account directly
Create backend account does not work
The log shows the following
Base table or view not found: 1146 Table 'xyz.tl_user' does not exist
I have emptied the database on an existing Contao 5 installation for testing. The use case is very common, because theme users first want to play around and then want to work with a fresh database.
The error can be reproduced as follows
Empty database
Call Manager and run check
Manager now wants to create an administrator account directly
Create backend account does not work
The log shows the following
Base table or view not found: 1146 Table 'xyz.tl_user' does not exist
Reponse server/database
{ "url": "", "pattern": "^([^:]+)://(([^:@]+)(:([^@]+))?@)?([^:/]+(:[0-9]+)?)/([^?]+)(\\?.+)?$", "status": { "type": "schema", "total": 41, "warnings": 0 } }
As seen in the repsonse, the number of schema changes is returned correctly, yet the manager wants to create an administrator account.
Expected behavior So the manager should be able to see that he needs to run the migrations first.