According to Laravel documentation:
$table->timestamps();
Adds nullablecreated_at
andupdated_at
columns.$table->nullableTimestamps();
Nullable versions of thetimestamps()
columns.
I don't understand. In other words, what I read is:
A
creates nullable columnsB
is likeA
but it creates nullable columns
What did I miss?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire