From fa4823dd632cad6a5736c1d900a064647bb72c20 Mon Sep 17 00:00:00 2001 From: ryo Date: Tue, 11 Mar 2025 16:15:29 +0000 Subject: Added admin user that can change usres team Fixed: player login based on user and password Added: show errors to the user --- .../2025_03_06_091820_create_players_table.php | 40 ---------------------- 1 file changed, 40 deletions(-) delete mode 100644 database/migrations/2025_03_06_091820_create_players_table.php (limited to 'database/migrations/2025_03_06_091820_create_players_table.php') diff --git a/database/migrations/2025_03_06_091820_create_players_table.php b/database/migrations/2025_03_06_091820_create_players_table.php deleted file mode 100644 index d078edf..0000000 --- a/database/migrations/2025_03_06_091820_create_players_table.php +++ /dev/null @@ -1,40 +0,0 @@ -id(); - $table->timestamps(); - $table->string('name'); - $table->string('team'); - $table->integer('score'); - }); - - Schema::create('sessions', function (Blueprint $table) { - $table->string('id')->primary(); - $table->foreignId('user_id')->nullable()->index(); - $table->string('ip_address', 45)->nullable(); - $table->text('user_agent')->nullable(); - $table->longText('payload'); - $table->integer('last_activity')->index(); - }); - } - - /** - * Reverse the migrations. - */ - public function down(): void - { - Schema::dropIfExists('players'); - Schema::dropIfExists('sessions'); - } -}; -- cgit v1.2.3