Checkout field default value set to 0 #40
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When compiler creates the tables it would be nice for the automatically created fields to have default values. That would allow easier database manipulation.
Unlike created_by and modified_by the checked_out field doesn't have a default value. Is it possible to set this to 0 ?
I think this would be possible by changing line 4859 in file "e_interpretation.php" from :
to
Also, for consistency we could change the params field too (line 4829) from:
to
Hi, I am not sure I understand... component builder does have the correct default values for the DB on those fields mentioned.
But yes there is a way to update those default fields (in this tutorial I called How to overwrite the custom fields explain how this is done). I can also add those changes to the core... I will use the Joomla banner table as a guideline
Yes, I'm suggesting changing the core and the defaults I suggested are the same as the #__categories table instead of the #__banners table.
If you change the core the all tables created by JCB will be created with these values as default which will make development easier, at least for me.
In your comment you said you'd use banner table as guide but you linked to the categories table.
Please use the categories table as guideline as it sets default values to all fields.
Hope I helped :)
Sure... that is great.