Revision 398 | Revision 513 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed
<?phpuse Illuminate\Database\Migrations\Migration;use Illuminate\Database\Schema\Blueprint;use Illuminate\Support\Facades\Schema;return new class extends Migration{/*** Run the migrations.** @return void*/public function up(){if ( !Schema::hasTable( 'shippings' ) ){Schema::create( 'shippings', function ( Blueprint $table ){$table->id();$table->timestamps();} );}}/*** Reverse the migrations.** @return void*/public function down(){Schema::dropIfExists( 'shippings' );}};