Setting a default value in migration or Eloquent model?
<p>Basically you can define a default value for an Eloquent model via migrations or within the Eloquent model:</p>

<p>Define default value in migration example:</p>

<pre><code> $table-&gt;string('locale')-&gt;default('en');
</code></pre>

<p>Define default value within Eloquent model:</p>

<pre><code>protected $attributes = ['locale' =&gt; 'en'];
</code></pre>

<p>What are the pros and cons of these two approaches? Which one is better (for a specific use case)?</p>