Closed FabRiviere closed 1 year ago
session:
-> handler_id: '%env(resolve:DATABASE_URL)%'
cookie_secure: auto
cookie_samesite: lax
storage_factory_id: session.storage.factory.native
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('
CREATE TABLE sessions (
sess_id VARCHAR(128) NOT NULL PRIMARY KEY,
sess_data BYTEA NOT NULL,
sess_lifetime INTEGER NOT NULL,
sess_time INTEGER NOT NULL
)
');
$this->addSql('CREATE INDEX expiry ON sessions (sess_lifetime)');
}
doctrine:
dbal:
url: '%env(resolve:DATABASE_URL)%'
# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '15'
-> schema_filter: ~^(?!session)~
Merge réalisé avec une pull-request depuis GitHub. Suppression de la branche après réalisation du pull-request.