2021_12_30_083957_create_audio_show_table.php 998 Bytes
<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateAudioShowTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('audio_show', function (Blueprint $table) {
            $table->increments('id');
            $table->string('image_url')->default('')->comment('图片地址');
            $table->string('image_size')->default('')->comment('图片大小');
            $table->string('audio_url')->default('')->comment('音频地址');
            $table->string('audio_size')->default('')->comment('音频大小');
            $table->string('audio_time')->default('')->comment('音频时长');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('audio_show');
    }
}