Skip to content

Commit 4144de9

Browse files
author
Shawn McCool
committed
Merge branch 'hotfix/table-default'
2 parents 606eb07 + 75ec9e5 commit 4144de9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

database/schema.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Command | Description
6565
`$table->text('description');` | TEXT equivalent to the table
6666
`$table->blob('data');` | BLOB equivalent to the table
6767
`->nullable()` | Designate that the column allows NULL values
68+
`->default($value)` | Specify a default value on a column
6869

6970
> **Note:** Laravel's "boolean" type maps to a small integer column on all database systems.
7071

0 commit comments

Comments
 (0)