Skip to content

Commit

Permalink
Added explanation for $table->double()
Browse files Browse the repository at this point in the history
  • Loading branch information
tscheepers committed Dec 4, 2014
1 parent d7b1344 commit 58fd803
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 58fd803

Please sign in to comment.