Laravel for Beginners - Part 3 (Models and Migrations)

Поделиться
HTML-код
  • Опубликовано: 6 окт 2024
  • Learn how to create models and migrations in Laravel 5. Models are a representation of a table within your database. Migrations are blueprints of your database table's structure. Models and Migrations in Laravel work hand in hand. Using Eloquent ORM, it is very easy to create, read, update and delete your models (tables).

Комментарии • 15

  • @aliabb01
    @aliabb01 4 года назад

    Was stuck in the migration process. Now its all clear. Thanks for the video

  • @excalibur885
    @excalibur885 5 лет назад +1

    Good content. I hope you upload next parts ASAP

  • @ronaldabello2191
    @ronaldabello2191 3 года назад

    Very Nice Tutorial. Thanks!

  • @geeno123
    @geeno123 3 года назад

    do you absolutely need xampp installed or can you use valet instead? also I'm using mysql workbench for my databases. Is there a way for laravel and workbench to talk to each other? ..because for some reason, they won't.

  • @yosoyfantastico
    @yosoyfantastico 4 года назад

    its better than traversy media

  • @chhornmenghong1871
    @chhornmenghong1871 5 лет назад

    i cannot edit my Servername and cannot create migrate in my phpadmin.
    How can i do its???

  • @sujoysarkar4246
    @sujoysarkar4246 4 года назад

    Illuminate\Database\QueryException
    SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost'
    please help, am on linux

  • @akgo2684
    @akgo2684 4 года назад

    I'm getting an error when trying to find the folder on command prompt.

    • @akgo2684
      @akgo2684 4 года назад

      the error is saying that the folders are not recognised as an internal or external command, operable program or batch file

  • @ajeysingh4699
    @ajeysingh4699 3 года назад

    model created but migrate not created how to fix it

    • @SeanFreitas
      @SeanFreitas 3 года назад

      Delete the model and recreate it with artisan, do php artisan make:model -m

  • @patrickrojo-powerbi4568
    @patrickrojo-powerbi4568 5 лет назад

    i get a "could not open input file: artisan"

    • @patrickrojo-powerbi4568
      @patrickrojo-powerbi4568 5 лет назад

      solved it running " php artisan migrate:refresh "

    • @patrickrojo-powerbi4568
      @patrickrojo-powerbi4568 5 лет назад

      so after some testing, i can't make run "php artisan migrate", all that works if "migrate:refresh " but it rolls back content first. Any idea ?