docs(laravel): add table options

This commit is contained in:
Julien Le Coupanec 2020-03-23 16:07:39 +01:00
parent 45bf363110
commit 8580ca1973
1 changed files with 10 additions and 0 deletions

View File

@ -262,6 +262,16 @@ uuid // The field under validation must be a v
* https://laravel.com/docs/5.8/errors
********************************************************************************************/
/********************************************************************************************
* COLLECTION TABLE OPTIONS
* https://laravel.com/docs/5.7/migrations#creating-tables
********************************************************************************************/
$table->engine = 'InnoDB'; // Specify the table storage engine (MySQL).
$table->charset = 'utf8'; // Specify a default character set for the table (MySQL).
$table->collation = 'utf8_unicode_ci'; // Specify a default collation for the table (MySQL).
$table->temporary(); // Create a temporary table (except SQL Server).
/********************************************************************************************
* COLLECTION COLUMN TYPES
* https://laravel.com/docs/5.8/migrations#generating-migrations