This commit is contained in:
2018-07-26 19:38:40 +08:00
parent 4122cd1fdd
commit d7f4fc67db
33 changed files with 111 additions and 106 deletions

View File

@@ -0,0 +1,34 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateChooseTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('Choose', function(Blueprint $table)
{
$table->string('RID', 50)->comment('達人帳號');
$table->string('TCID', 50)->index('TCID')->comment('案件編號');
$table->primary(['RID','TCID']);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('Choose');
}
}