Add presigned URL management

This commit is contained in:
biondizzle
2025-06-05 10:07:14 -04:00
parent 994b08d44c
commit c5677539e4
7 changed files with 228 additions and 17 deletions

View File

@@ -0,0 +1,26 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20250605112000 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add url column to presigned URLs';
}
public function up(Schema $schema): void
{
$this->addSql("ALTER TABLE s3_presigned_urls ADD url VARCHAR(2048) NOT NULL");
}
public function down(Schema $schema): void
{
$this->addSql("ALTER TABLE s3_presigned_urls DROP COLUMN url");
}
}