Database¶
- Config:
config/database.php
Migration¶
- Create a migraiton
- The table to migrate:
--table=XXX
- The table to be created:
--create=XXX
- The table to migrate:
php artisan make:migration create_user_table
- Execute the migration
php artisan migrate php artisan migrate --path=path_to_php
Ref¶
https://stackoverflow.com/questions/30447385/artisan-creating-tables-in-database