This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bfdf05a
commit bc2e992
Showing
235 changed files
with
5,458 additions
and
2,838 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,30 @@ | ||
framework: | ||
messenger: | ||
# Uncomment this (and the failed transport below) to send failed messages to this transport for later handling. | ||
# failure_transport: failed | ||
messenger: | ||
buses: | ||
command_bus: | ||
middleware: | ||
# each time a message is handled, the Doctrine connection | ||
# is "pinged" and reconnected if it's closed. Useful | ||
# if your workers run for a long time and the database | ||
# connection is sometimes lost | ||
- doctrine_ping_connection | ||
# Uncomment this (and the failed transport below) to send failed messages to this transport for later handling. | ||
# failure_transport: failed | ||
|
||
transports: | ||
# https://symfony.com/doc/current/messenger.html#transport-configuration | ||
async: | ||
dsn: "%env(MESSENGER_TRANSPORT_DSN)%" | ||
retry_strategy: | ||
max_retries: 0 | ||
delay: 5000 | ||
failed: doctrine://default | ||
sync: "sync://" | ||
# async: '%env(MESSENGER_TRANSPORT_DSN)%' | ||
# failed: 'doctrine://default?queue_name=failed' | ||
# sync: 'sync://' | ||
transports: | ||
# https://symfony.com/doc/current/messenger.html#transport-configuration | ||
async: | ||
dsn: "%env(MESSENGER_TRANSPORT_DSN)%" | ||
retry_strategy: | ||
max_retries: 0 | ||
delay: 5000 | ||
failed: doctrine://default | ||
sync: "sync://" | ||
# async: '%env(MESSENGER_TRANSPORT_DSN)%' | ||
# failed: 'doctrine://default?queue_name=failed' | ||
# sync: 'sync://' | ||
|
||
routing: | ||
# Route your messages to the transports | ||
Labstag\Queue\Message\ServiceMethodMessage: async | ||
# 'App\Message\YourMessage': async | ||
routing: | ||
# Route your messages to the transports | ||
Labstag\Queue\Message\ServiceMethodMessage: async | ||
# 'App\Message\YourMessage': async |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace DoctrineMigrations; | ||
|
||
use Doctrine\DBAL\Schema\Schema; | ||
use Doctrine\Migrations\AbstractMigration; | ||
|
||
/** | ||
* Auto-generated Migration: Please modify to your needs! | ||
*/ | ||
final class Version20211007141816 extends AbstractMigration | ||
{ | ||
public function getDescription(): string | ||
{ | ||
return ''; | ||
} | ||
|
||
public function up(Schema $schema): void | ||
{ | ||
// this up() migration is auto-generated, please modify it to your needs | ||
$this->addSql('ALTER TABLE bookmark ADD icon LONGTEXT DEFAULT NULL, CHANGE content content LONGTEXT DEFAULT NULL, CHANGE meta_description meta_description LONGTEXT DEFAULT NULL, CHANGE meta_keywords meta_keywords LONGTEXT DEFAULT NULL'); | ||
$this->addSql('ALTER TABLE edito CHANGE meta_description meta_description VARCHAR(255) DEFAULT NULL, CHANGE meta_keywords meta_keywords VARCHAR(255) DEFAULT NULL'); | ||
$this->addSql('ALTER TABLE post CHANGE meta_description meta_description VARCHAR(255) DEFAULT NULL, CHANGE meta_keywords meta_keywords VARCHAR(255) DEFAULT NULL'); | ||
} | ||
|
||
public function down(Schema $schema): void | ||
{ | ||
// this down() migration is auto-generated, please modify it to your needs | ||
$this->addSql('ALTER TABLE bookmark DROP icon, CHANGE content content LONGTEXT CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE meta_description meta_description VARCHAR(255) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE meta_keywords meta_keywords VARCHAR(255) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`'); | ||
$this->addSql('ALTER TABLE edito CHANGE meta_description meta_description VARCHAR(255) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE meta_keywords meta_keywords VARCHAR(255) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`'); | ||
$this->addSql('ALTER TABLE post CHANGE meta_description meta_description VARCHAR(255) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE meta_keywords meta_keywords VARCHAR(255) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.