8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 29a4ac2 + c667788 commit 4d25f50Copy full SHA for 4d25f50
laravel/documentation/database/schema.md
@@ -62,6 +62,7 @@ Command | Description
62
`$table->string('name', 100);` | VARCHAR equivalent with a length
63
`$table->integer('votes');` | INTEGER equivalent to the table
64
`$table->float('amount');` | FLOAT equivalent to the table
65
+`$table->decimal('amount', 5, 2);` | DECIMAL equivalent with a precision and scale
66
`$table->boolean('confirmed');` | BOOLEAN equivalent to the table
67
`$table->date('created_at');` | DATE equivalent to the table
68
`$table->timestamp('added_on');` | TIMESTAMP equivalent to the table
0 commit comments