increments('id'); $table->integer('usuario_id')->nullable(); $table->integer('no_factura')->nullable(); $table->date('fecha')->nullable(); $table->string('cliente', 30)->nullable(); $table->string('documento_id', 15)->nullable(); $table->string('direccion', 30)->nullable(); $table->string('telefono', 20)->nullable(); $table->string('no_orden_entrega', 20)->nullable(); $table->integer('ingreso_vehiculos_id')->nullable(); $table->enum('estado', ['pendiente','pagada'])->nullable(); $table->string('observaciones', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('facturas'); } }