mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
2369a3bbae
* depend on flyway in trigger service; duplicate FlywayMigrations from sandbox * bring in postgres/h2 detection, other data-source elements needed; use scalalogging * use DataSource instead of DriverManager for DbTriggerDao, pass to flyway too - initialization order isn't quite right yet * hardcode postgres in triggers flyway path * found an init order that doesn't fail in tests * better pools for production, and don't forget to close them * move most init SQL to first migration file * make logHandler implicit again - seems to have been an accidental implication of #6334 * move remaining create to V1__Init.sql * use Prod poolSize * prove that PostStop signals are never seen (in tests) * move all the shutdown to Stop message * remove dead code in DbFlywayMigrations * always "initialize" database CHANGELOG_BEGIN - [Trigger Service] The database format has changed to allow migrations in future releases. Databases are always initialized or migrated to the current version on start, so use of ``--init-db`` is no longer required. See `issue #7092 <https://github.com/digital-asset/daml/pull/7092>`__. CHANGELOG_END * it should always be obvious when there is no escape * remove logs from experiments * remove receiveSignal PostStop * remove unused imports |
||
---|---|---|
.. | ||
daml | ||
runner | ||
service | ||
tests |