mirror of
https://github.com/flarum/core.git
synced 2025-07-18 07:11:17 +02:00
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.