timestams innecesarias
This commit is contained in:
parent
f8239a624d
commit
5ea06ff003
|
@ -14,7 +14,6 @@ public function up(): void
|
||||||
Schema::create('productos_caracteristicas', function (Blueprint $table) {
|
Schema::create('productos_caracteristicas', function (Blueprint $table) {
|
||||||
$table->unsignedBigInteger('producto_id');
|
$table->unsignedBigInteger('producto_id');
|
||||||
$table->unsignedBigInteger('caracteristica_id');
|
$table->unsignedBigInteger('caracteristica_id');
|
||||||
$table->timestamps();
|
|
||||||
$table->primary(['producto_id','caracteristica_id']);
|
$table->primary(['producto_id','caracteristica_id']);
|
||||||
$table->foreign('producto_id')->references('id')->on('productos');
|
$table->foreign('producto_id')->references('id')->on('productos');
|
||||||
$table->foreign('caracteristica_id')->references('id')->on('caracteristicas');
|
$table->foreign('caracteristica_id')->references('id')->on('caracteristicas');
|
||||||
|
|
Loading…
Reference in New Issue