We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the Doctrine_Template_DmBlameable the default option for created_by and updated by are: 'options' => array('notnull' => false)
'options' => array('notnull' => false)
But I'm working with fixtures, trying to let in null some basic entries that my software need, but I get an error of the foreign key:
Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (iglesia/profesion, CONSTRAINT profesion_updated_by_dm_user_id FOREIGN KEY (updated_by) REFERENCES dm_user (id))
iglesia/profesion
profesion_updated_by_dm_user_id
updated_by
dm_user
id
This is my schema:
Profesion: actAs: DmBlameable: ~ columns: nombre: { type: string(255), notnull: true, unique: true }
This is my fixture Profesion: ingeniero: nombre: Ingeniero Civil Industrial
Profesion: ingeniero: nombre: Ingeniero Civil Industrial
The text was updated successfully, but these errors were encountered:
DmBlameable default ident is null - Closed by b02e839
Sorry, something went wrong.
Thanks! Now it works well!
No branches or pull requests
In the Doctrine_Template_DmBlameable the default option for created_by and updated by are:
'options' => array('notnull' => false)
But I'm working with fixtures, trying to let in null some basic entries that my software need, but I get an error of the foreign key:
Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (
iglesia/profesion
, CONSTRAINTprofesion_updated_by_dm_user_id
FOREIGN KEY (updated_by
) REFERENCESdm_user
(id
))This is my schema:
Profesion: actAs: DmBlameable: ~ columns: nombre: { type: string(255), notnull: true, unique: true }
This is my fixture
Profesion:
ingeniero:
nombre: Ingeniero Civil Industrial
The text was updated successfully, but these errors were encountered: