Simple forum software for building great communities.
Go to file
Toby Zerner 97b6b06280 Allow extensions to add default model attributes
Extensions can add default column values in their migrations, but Eloquent doesn't know about this when it first saves a model to the database.

This is useful in flarum-ext-approval where the default value for is_approved on the posts table is true.
2016-05-28 09:37:43 +09:30
framework/core Allow extensions to add default model attributes 2016-05-28 09:37:43 +09:30