Revision 425 | 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(){Schema::create('manufacturer_aliases', function (Blueprint $table) {$table->id();$table->foreignId( 'manufacturer_id' )->nullable()->constrained()->cascadeOnUpdate()->nullOnDelete();$table->string( 'name' )->default( '' );$table->string( 'created_by' )->default( '' );$table->string( 'updated_by' )->default( '' );$table->timestamps();$table->softDeletes();});}/*** Reverse the migrations.** @return void*/public function down(){Schema::dropIfExists('manufacturer_aliases');}};