Permalink
Browse files

Merge pull request #970 from franzliedke/patch-26

[Docs] Schema default helper
  • Loading branch information...
2 parents a87615d + a03bcb5 commit a73a6fb6c419e2888c40bb6427bc985349c91266 @taylorotwell taylorotwell committed Jul 18, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 laravel/documentation/database/schema.md
@@ -69,6 +69,7 @@ Command | Description
`$table->text('description');` | TEXT equivalent to the table
`$table->blob('data');` | BLOB equivalent to the table
`->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.

0 comments on commit a73a6fb

Please sign in to comment.