Database
Revision as of 07:33, 20 November 2019 by Salwani.nur (talk | contribs)
1. Create a table
- In composer, type 'php artisan make:migration create_table' - To make migration, type 'php artisan migrate'
2. Creating a column
- In migration files, under Schema function, put datatype and the column name
- For example: "$table->string('email');"