Skip to content

Add runtime schema validation support to diesel #760

@spencewenski

Description

@spencewenski

Diesel and SeaORM both have their own tooling for running migrations, and Diesel's specifically will detect any changes between what's in the actual db and what's in the generated schema file (diesel migration run --locked-schema). This kind of thing isn't checked when we run migrations automatically in Roadster via the direct migration trait APIs.

We might want to consider removing the auto-migrations and instead recommend that migrations are run via each ORM's official tooling. TBD if there's any existing advice from Diesel or SeaORM on this topic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions