E1.26 Php Symfony Security Step 7: Creating Security Database (Wpf, Xamarin, Angular SPA, Reactjs SPA) - chempkovsky/CS2WPF-and-CS2XAMARIN GitHub Wiki

  • For now "config/packages/doctrine.yaml" contains definition for
    • "aspnetforphpchckdbcontextdeployconnection"
  • We can create new database with symfony/doctrine tools
    • run cmd command
    • from inside cmd window execute the command
      • cd c:\dev\PhpLit
    • from inside cmd window execute the command
      • php bin/console doctrine:database:create --connection=aspnetforphpchckdbcontextdeployconnection

picture

  • All is ready to create security tables in the database

  • We can create new table with symfony/doctrine tools

    • run cmd command
    • from inside cmd window execute the command
      • cd c:\dev\PhpLit
    • from inside cmd window execute the command
      • php bin/console doctrine:migrations:diff --em=aspnetforphpchckdbcontextdeploymanager

picture

  • from inside cmd window execute the command
    • php bin/console doctrine:migrations:migrate --em=aspnetforphpchckdbcontextdeploymanager

picture