liyinglin 3 years ago
parent 5a3f41407a
commit 1b71c1961e

@ -0,0 +1,36 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAskSubmit extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('ask_submits', function (Blueprint $table) {
$table->increments('id');
$table->integer("admin_id")->nullable();
$table->integer("project_id")->nullable();
$table->json("content")->nullable();
$table->integer("score")->nullable();
$table->timestamps();
$table->softDeletes();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('ask_submits');
}
}
Loading…
Cancel
Save