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,38 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateProofReadingTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('ProofReading', function(Blueprint $table)
{
$table->string('ID', 50)->comment('委託編號');
$table->dateTime('deliveryDate')->comment('交稿日期');
$table->string('manuscriptUrl', 50)->nullable()->comment('稿件網址');
$table->text('suggestions', 65535)->nullable()->comment('校稿意見');
$table->dateTime('replyTime')->nullable()->comment('意見回覆時間');
$table->text('description', 65535)->nullable()->comment('交稿者說明');
$table->primary(['ID','deliveryDate']);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('ProofReading');
}
}