Add crud item to Laravel 8.* + Backpack admin

php artisan make:migration:schema create_tags_table — model=0 — schema=”name:string:unique,slug:string:unique”
php artisan make:migration create_tags_table
Schema::create(‘tags’, function (Blueprint $table) {
$table->id();
$table->string(‘name’)->unique();
$table->string(‘slug’)->unique();
$table->timestamps();
});
php artisan migrate
php artisan migrate:rollback
php artisan migrate
php artisan backpack:crud tag

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store