Gabotronix
2 months ago
220
1
General

Laravel: give longText field a default value

Posted 2 months ago by Gabotronix

Pretty straightforward, in laravel I can't give longText or text fields a default value, given a field named "body" where body will probably have some text or html, how can I give it a default value in mysql?

Please sign in or create an account to participate in this conversation.