Files
cae/database/migrations/2026_02_06_145300_add_inf_users.php
2026-02-12 17:56:16 +00:00

32 lines
717 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('users', function (Blueprint $table) {
$table->integer('id_escola')->nullable();
$table->string('profile')->nullable();
$table->string('cpf')->nullable();
$table->json('endereco')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('users', function (Blueprint $table) {
//
});
}
};