feature/modelos-y-migraciones #3

Merged
rho merged 28 commits from feature/modelos-y-migraciones into master 2024-03-14 16:34:44 -03:00
1 changed files with 0 additions and 1 deletions
Showing only changes of commit 5ea06ff003 - Show all commits

View File

@ -14,7 +14,6 @@ public function up(): void
Schema::create('productos_caracteristicas', function (Blueprint $table) {
$table->unsignedBigInteger('producto_id');
$table->unsignedBigInteger('caracteristica_id');
$table->timestamps();
$table->primary(['producto_id','caracteristica_id']);
$table->foreign('producto_id')->references('id')->on('productos');
$table->foreign('caracteristica_id')->references('id')->on('caracteristicas');