E1.13 Php Symfony: Creating Tables (Wpf, Xamarin, Angular SPA, Reactjs SPA) - chempkovsky/CS2WPF-and-CS2XAMARIN GitHub Wiki

  • For now all is ready to create our first table 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=litdbcontextdeploymanager

picture

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

picture