to squeeze
This commit is contained in:
0
laravel/database/.gitignore
vendored
Normal file → Executable file
0
laravel/database/.gitignore
vendored
Normal file → Executable file
0
laravel/database/factories/BilletFactory.php
Normal file → Executable file
0
laravel/database/factories/BilletFactory.php
Normal file → Executable file
0
laravel/database/factories/UserFactory.php
Normal file → Executable file
0
laravel/database/factories/UserFactory.php
Normal file → Executable file
0
laravel/database/migrations/0001_01_01_000000_create_users_table.php
Normal file → Executable file
0
laravel/database/migrations/0001_01_01_000000_create_users_table.php
Normal file → Executable file
0
laravel/database/migrations/0001_01_01_000001_create_cache_table.php
Normal file → Executable file
0
laravel/database/migrations/0001_01_01_000001_create_cache_table.php
Normal file → Executable file
0
laravel/database/migrations/0001_01_01_000002_create_jobs_table.php
Normal file → Executable file
0
laravel/database/migrations/0001_01_01_000002_create_jobs_table.php
Normal file → Executable file
0
laravel/database/migrations/2025_04_12_110216_create_billets_table.php
Normal file → Executable file
0
laravel/database/migrations/2025_04_12_110216_create_billets_table.php
Normal file → Executable file
@@ -0,0 +1,33 @@
|
||||
<?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('personal_access_tokens', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->morphs('tokenable');
|
||||
$table->string('name');
|
||||
$table->string('token', 64)->unique();
|
||||
$table->text('abilities')->nullable();
|
||||
$table->timestamp('last_used_at')->nullable();
|
||||
$table->timestamp('expires_at')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('personal_access_tokens');
|
||||
}
|
||||
};
|
||||
0
laravel/database/seeders/BilletSeeder.php
Normal file → Executable file
0
laravel/database/seeders/BilletSeeder.php
Normal file → Executable file
0
laravel/database/seeders/DatabaseSeeder.php
Normal file → Executable file
0
laravel/database/seeders/DatabaseSeeder.php
Normal file → Executable file
Reference in New Issue
Block a user