Laravel - Database Basics and Migrations
Find the mistake in this migration snippet:
$table->integer('age')->nullable(false)->default(null);$table->integer('age')->nullable(false)->default(null);nullable(false) means the column cannot be null.default(null) conflicts because null is not allowed.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions