Database
Jump to navigation
Jump to search
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');"