Merge pull request #1016 from purwandi/develop

Add decimal schema on docs
This commit is contained in:
Taylor Otwell 2012-08-09 20:45:11 -07:00
commit 4d25f50f4b
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ ## Adding Columns
`$table->string('name', 100);` | VARCHAR equivalent with a length
`$table->integer('votes');` | INTEGER equivalent to the table
`$table->float('amount');` | FLOAT equivalent to the table
`$table->decimal('amount', 5, 2);` | DECIMAL equivalent with a precision and scale
`$table->boolean('confirmed');` | BOOLEAN equivalent to the table
`$table->date('created_at');` | DATE equivalent to the table
`$table->timestamp('added_on');` | TIMESTAMP equivalent to the table