I believe here you can just use the `$table->nullableTimestamps();` instead of this whole if.

We are using that on a private repository where it was giving issues with PgSQL.