Début de MyX

This commit is contained in:
2024-08-10 17:10:59 +02:00
parent 74b799b274
commit f28e5700e8
15 changed files with 1140 additions and 5 deletions

View File

@@ -0,0 +1,31 @@
<?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::create('accounts', function (Blueprint $table) {
$table->id();
$table->boolean('enable')->default(true);
$table->string('name');
$table->string('password');
$table->mediumText('cookies')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('accounts');
}
};