Skip to content

Commit

Permalink
Merge pull request laravel#990 from tscheepers/patch-1
Browse files Browse the repository at this point in the history
Added explanation for $table->double()
  • Loading branch information
taylorotwell committed Dec 19, 2014
2 parents 7aa45db + 58fd803 commit 4c8d3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Command | Description
`$table->date('created_at');` | DATE equivalent to the table
`$table->dateTime('created_at');` | DATETIME equivalent to the table
`$table->decimal('amount', 5, 2);` | DECIMAL equivalent with a precision and scale
`$table->double('column', 15, 8);` | DOUBLE equivalent with precision
`$table->double('column', 15, 8);` | DOUBLE equivalent with precision, 15 digits in total and 8 after the decimal point
`$table->enum('choices', array('foo', 'bar'));` | ENUM equivalent to the table
`$table->float('amount');` | FLOAT equivalent to the table
`$table->increments('id');` | Incrementing ID to the table (primary key).
Expand Down

0 comments on commit 4c8d3d7

Please sign in to comment.