Laravel : Creating Table In Laravel And Migrating It To PhpMyadmin

Sdílet
Vložit
  • čas přidán 5. 11. 2017
  • To create table in laravel.
    - create a model with migration
    command : php artisan make:model name_of_model -m
    the -m creates a migration for the same model.
    - after that go to migration and add fields.
    -migrate it to database which is in phpmyadmin
    -with php artisan tinker add data in database from laravel
    DO SHARE ,LIKE AND SUBSCRIBE MY CHANNEL. :)

Komentáře • 1