Laravel - Database Basics and Migrations
What will be the database column type created by this migration code?
$table->decimal('price', 8, 2);$table->decimal('price', 8, 2);$table->decimal('price', 8, 2); creates a decimal column with 8 digits total and 2 after the decimal point.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions