feature/columna-totales #4

Open
atasistro wants to merge 46 commits from feature/columna-totales into master
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 0539904155 - Show all commits

View file

@ -19,7 +19,7 @@ return new class extends Migration
Schema::create('barrios', function (Blueprint $table) {
$table->id();
$table->string('nombre', 100);
$table->string('nombre', 100);
$table->unsignedBigInteger('region_id');
$table->timestamps();
$table->foreign('region_id')->references('id')->on('regiones');
@ -31,7 +31,7 @@ return new class extends Migration
*/
public function down(): void
{
Schema::dropIfExists('regiones');
Schema::dropIfExists('barrios');
Schema::dropIfExists('regiones');
}
};

View file

@ -38,7 +38,7 @@ return new class extends Migration
*/
public function down(): void
{
Schema::dropIfExists('pedidos');
Schema::dropIfExists('pedido_producto');
Schema::dropIfExists('pedidos');
}
};