fix #1
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateFlightNegotiationTable extends Migration {
|
||||
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('FlightNegotiation', function(Blueprint $table)
|
||||
{
|
||||
$table->string('ID', 50)->comment('委託編號');
|
||||
$table->dateTime('negotiationDate')->comment('協商日期');
|
||||
$table->string('negotiator', 50)->comment('協商者');
|
||||
$table->date('deliveryDate')->comment('交稿日期');
|
||||
$table->date('publishDate')->comment('發佈日期');
|
||||
$table->text('description', 65535)->nullable()->comment('協商說明');
|
||||
$table->primary(['ID','negotiationDate']);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::drop('FlightNegotiation');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user