- add cv info

This commit is contained in:
2023-06-16 14:23:34 +02:00
parent 390c5b8087
commit d35421a97e
5 changed files with 111 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
<?php
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('cv_infos', function (Blueprint $table) {
$table->id();
$table->integer('cv_id')->index();
$table->string('ip', 255);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('cv_infos');
}
};