Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Diesels MultiConnections Derive #3796

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 21, 2023

  1. Use Diesels MultiConnections Derive

    With this PR we remove allmost all custom macro's to create the multiple
    database type code. This is now handled by Diesel it self.
    
    This removed the need of the following functions/macro's:
    - `db_object!`
    - `::to_db`
    - `.from_db()`
    
    All `conn` variables do not need a `mut` anymore (says nightly rust)
    
    It is also possible to just use one schema instead of multiple per type.
    BlackDex committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    1b1596c View commit details
    Browse the repository at this point in the history