mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-11-18 11:05:16 +00:00
docs(laravel): add table options
This commit is contained in:
parent
45bf363110
commit
8580ca1973
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user