F1.22 Laravel(Lumen) Security Step4: Migrate or create tables (Wpf, Xamarin, Angular SPA, Reactjs SPA) - chempkovsky/CS2WPF-and-CS2XAMARIN GitHub Wiki
Make sure your project meets the requirements:
- Open the file
- database/migrations/2021_10_12_100000_LitDbContextMigration.php
- read the instructions at the beginning of the file
- We are going to create lumaspnet-database
'aspnetforphpchckdbcontext' => [
'url' => 'mysql://root:[email protected]:3306/lumaspnet?serverVersion=8.0&charset=utf8mb4',
],
Create database:
- run cmd
- run cd c:\dev\lumlit
- run php artisan command:crtdb
Create tables:
- run cmd
- run cd c:\dev\lumlit
- run php artisan migrate --database=aspnetforphpchckdbcontext --path=database/migrations/2021_10_14_100000_aspnetforphpchckdbcontextMigration.php