I am launching the SF2.1 project into production.
I have customized the user model so that some fields are needed.
So when I try to create my super admin
$ php app/console fos:user:create admin my@mail.com my_pass --super-admin
I get
[PDOException]
SQLSTATE [23000]: Integrity constraint violation: 1048 Column 'my_required_field' cannot be null
What is the clean way to manage this?
I assume that manually do not insert the user into the table ...
source share