Actualización de lector con código qr
This commit is contained in:
@@ -15,7 +15,10 @@ return new class extends Migration
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->string('razon');
|
||||
$table->string('ubicacion');
|
||||
$table->string('ubicacion')->nullable();;
|
||||
$table->string('nomenclatura')->nullable();
|
||||
$table->string('latitud')->nullable();
|
||||
$table->string('longitud')->nullable();
|
||||
$table->bigInteger('telefono');
|
||||
$table->boolean('status');
|
||||
$table->timestamps();
|
||||
|
||||
@@ -6,14 +6,13 @@ use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('codes', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->unsignedBigInteger('user_id');
|
||||
$table->string('codigo');
|
||||
$table->dateTime('registro')->nullable();
|
||||
$table->string('latitud');
|
||||
$table->string('longitud');
|
||||
@@ -21,9 +20,6 @@ return new class extends Migration
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('codes');
|
||||
|
||||
Reference in New Issue
Block a user