How to create database schema (table) in Laravel?

后端 未结 5 1162
眼角桃花
眼角桃花 2021-02-09 07:53

I\'m new to Laravel.I\'m trying to create database in Laravel. I tried in console with:

Schema::create

5条回答
  •  渐次进展
    2021-02-09 08:26

    I just created an interesting Laravel package that has some handy set of artisan commands like create or drop database, dump database or load from .sql dump, or to see which fields (and field types) are present in your models ...

    Check it out: https://github.com/vkovic/laravel-commando

提交回复
热议问题