Вход Регистрация
Файл: database/migrations/2025_04_21_151423_create_jobs_table.php
Строк: 39
<?php

use IlluminateDatabaseMigrationsMigration;
use 
IlluminateDatabaseSchemaBlueprint;
use 
IlluminateSupportFacadesSchema;

return new class extends 
Migration {
    public function 
up(): void
    
{
        
Schema::create('jobs', function (Blueprint $table) {
            
$table->bigIncrements('id');
            
$table->string('queue')->index();
            
$table->longText('payload');
            
$table->unsignedTinyInteger('attempts');
            
$table->unsignedInteger('reserved_at')->nullable();
            
$table->unsignedInteger('available_at');
            
$table->unsignedInteger('created_at');
        });
    }

    
/**
     * Reverse the migrations.
     */
    
public function down(): void
    
{
        
Schema::dropIfExists('jobs');
    }
};
Онлайн: 2
Реклама