diff --git a/.gitignore b/.gitignore index b71b1ea3..840505e1 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ /.zed /auth.json /node_modules +/bootstrap/cache /public/build /public/hot /public/storage diff --git a/ARTISAN.md b/ARTISAN.md index 745cb1c3..17fe5a0f 100644 --- a/ARTISAN.md +++ b/ARTISAN.md @@ -38,3 +38,9 @@ php artisan vendor:publish --tag=laravel-mail php artisan tinker Mail::raw('Hello World!', function($msg) {$msg->to('ht@webwerkstatt.tirol')->subject('Test Email'); }); + + +# Add this line in your .gitignore file +bootstrap/cache +# and then run +git rm -r --cached bootstrap/cache \ No newline at end of file diff --git a/database/migrations/0001_01_01_000000_create_users_table.php b/database/migrations/0001_01_01_000000_create_users_table.php index a71814cc..98c67982 100644 --- a/database/migrations/0001_01_01_000000_create_users_table.php +++ b/database/migrations/0001_01_01_000000_create_users_table.php @@ -17,8 +17,8 @@ return new class extends Migration $table->string('email')->unique(); $table->timestamp('email_verified_at')->nullable(); $table->string('password'); - $table->integer('client_id')->index(); - $table->integer('sport_id')->index(); + $table->integer('client_id'); + $table->integer('sport_id')->default(1); $table->boolean('super_admin')->default(false); $table->text('app_authentication_secret')->nullable(); diff --git a/package-lock.json b/package-lock.json index b632b022..5399f439 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1990,6 +1990,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -2223,6 +2224,7 @@ "integrity": "sha512-ITcnkFeR3+fI8P1wMgItjGrR10170d8auB4EpMLPqmx6uxElH3a/hHGQabSHKdqd4FXWO1nFIp9rRn7JQ34ACQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.5.0",