File: /home/imensosw/.trash/database.2/migrations/2022_04_26_220426_create_artists_table.php
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateArtistsTable extends Migration
{
public function up()
{
Schema::create('artists', function (Blueprint $table) {
$table->increments('id');
$table->string('artist_title');
$table->string('slug')->nullable();
$table->longText('artist_desc')->nullable();
$table->string('artist_image')->nullable();
$table->string('artist_apple_music_link')->nullable();
$table->string('artist_spotify_music_link')->nullable();
$table->text('artist_video')->nullable();
$table->integer('live_status')->default(0)->nullable();
$table->timestamps();
$table->softDeletes();
});
}
}