From 58fd8036b50635412c299a32772bdab07bc9294f Mon Sep 17 00:00:00 2001 From: Thijs Scheepers Date: Thu, 4 Dec 2014 11:24:48 +0100 Subject: [PATCH] Added explanation for $table->double() --- schema.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema.md b/schema.md index a0a7e0a2c7f..5e82cdcb068 100644 --- a/schema.md +++ b/schema.md @@ -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).