Compare commits

..

3 Commits

3 changed files with 65 additions and 1 deletions

View File

@ -0,0 +1,32 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddTimestampForReceiver extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('Receiver', function (Blueprint $table) {
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('Receiver', function (Blueprint $table) {
$table->dropTimestamps();
});
}
}

View File

@ -0,0 +1,32 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddTimestampForCasebuilder extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('CaseBuilder', function (Blueprint $table) {
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('CaseBuilder', function (Blueprint $table) {
$table->dropTimestamps();
});
}
}

View File

@ -16,7 +16,7 @@
// });
// 首頁url
Route::get('/', 'HomeController@index')->name('home');
Route::get('/', 'Home\HomeController@index')->name('home');
// 登入相關的
Auth::routes();