Add --db-engine CLI option #280

Closed
opened 2023-08-20 21:32:44 +02:00 by blacklight · 0 comments
Owner

As of now it's possible to override the database engine either through the configuration file (main.db -> engine or db -> engine attributes) or by setting the working directory (via CLI, configuration file or environment variable).

The latter option however only supports the case for a SQLite database, where the db file will just be stored under a different working directory.

For sake of flexibility (and consistency with other core options), we should also provide a --db-engine CLI option that accepts a SQLAlchemy/JDBC URL string.

As of now it's possible to override the database engine either through the configuration file (`main.db -> engine` or `db -> engine` attributes) or by setting the working directory (via CLI, configuration file or environment variable). The latter option however only supports the case for a SQLite database, where the db file will just be stored under a different working directory. For sake of flexibility (and consistency with other core options), we should also provide a `--db-engine` CLI option that accepts a SQLAlchemy/JDBC URL string.
blacklight added the
enhancement
label 2023-08-20 21:32:44 +02:00
blacklight self-assigned this 2023-08-20 21:32:44 +02:00
blacklight added this to the core project 2023-08-20 21:32:44 +02:00
blacklight added this to the v0.60.0 milestone 2024-03-01 01:31:00 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: platypush/platypush#280
No description provided.