Migration: Custom database adapter. How to?

hsg32
hsg32 Posts: 1 🧑🏻‍🚀 - Cadet

I adapted an existing adapter and also a platform class for an IBM database connection from Propel 1.5.4. Now I want to configure Propel so that I don't have to manually adjust the PropelConfiguration class. Means need to add the value 'ibm' into the array here in Line 129:

->values(['mysql', 'pgsql', 'sqlite', 'mssql', 'sqlsrv', 'oracle'])

Thank you for any help

Answers

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,087 ⚖️ - Guardians (admin)

    Heyhey @hsg32 ,

    where do you have Propel 1.5.4 from? I can not find it in packagist :D Looks VERY old for me.

    To your question:

    I dont see any way to adjust that configuration without touching PropelConfiguration or the ConfigurationManager. For more information about the configs have also a look into https://symfony.com/doc/current/components/config/definition.html

    All the best,

    Florian