agregadas columnas
This commit is contained in:
parent
27960f17e7
commit
f872b1e9fd
|
@ -14,6 +14,7 @@ public function up(): void
|
|||
Schema::create('pedidos', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name', 100);
|
||||
$table->boolean('confirmed')->default(false);
|
||||
$table->unsignedBigInteger('barrio_id');
|
||||
$table->timestamps();
|
||||
$table->foreign('barrio_id')->references('id')->on('barrios');
|
||||
|
|
|
@ -18,6 +18,7 @@ public function up(): void
|
|||
$table->unsignedBigInteger('categoria_id');
|
||||
$table->boolean('solidario');
|
||||
$table->boolean('bono');
|
||||
$table->boolean('barrial')->default(false);
|
||||
$table->unsignedBigInteger('barrio_id')->nullable();
|
||||
$table->timestamps();
|
||||
$table->foreign('categoria_id')->references('id')->on('categorias');
|
||||
|
|
Loading…
Reference in New Issue