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 606eb07 + 75ec9e5 commit 4144de9Copy full SHA for 4144de9
database/schema.md
@@ -65,6 +65,7 @@ Command | Description
65
`$table->text('description');` | TEXT equivalent to the table
66
`$table->blob('data');` | BLOB equivalent to the table
67
`->nullable()` | Designate that the column allows NULL values
68
+`->default($value)` | Specify a default value on a column
69
70
> **Note:** Laravel's "boolean" type maps to a small integer column on all database systems.
71
0 commit comments