Thanks for helping me! 
I identified the problem.
In the production env, the parameter was missing:
DATABASE_CLIENT= 'postgres'
With that, a sqlite database was being created in production.
As always, the error is silly!
Thanks for helping me! 
I identified the problem.
In the production env, the parameter was missing:
DATABASE_CLIENT= 'postgres'
With that, a sqlite database was being created in production.
As always, the error is silly!