Commit a73a6fb6 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #970 from franzliedke/patch-26

[Docs] Schema default helper
parents a87615da a03bcb52
...@@ -69,6 +69,7 @@ Command | Description ...@@ -69,6 +69,7 @@ Command | Description
`$table->text('description');` | TEXT equivalent to the table `$table->text('description');` | TEXT equivalent to the table
`$table->blob('data');` | BLOB equivalent to the table `$table->blob('data');` | BLOB equivalent to the table
`->nullable()` | Designate that the column allows NULL values `->nullable()` | Designate that the column allows NULL values
`->default($value)` | Declare a default value for a column
> **Note:** Laravel's "boolean" type maps to a small integer column on all database systems. > **Note:** Laravel's "boolean" type maps to a small integer column on all database systems.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment