Skip to content

db/diesel: Better docs / accessibility for schema changes and code gen #1470

@drahnr

Description

@drahnr

Previously we had a doc comment:

/// [diesel](https://diesel.rs/) generated schema
///     
/// ```sh     
/// cargo binstall diesel_cli     
/// sqlite3 -init ./src/db/migrations/001-init.sql ephemeral_setup.db ""     
/// diesel setup --database-url=./ephemeral_setup.db     
/// diesel print-schema > src/db/schema.rs```

but really we should have either a makefile target or similar to automate it away. That is, if we can meaningfully represent everything in the schema.

Metadata

Metadata

Assignees

No one assigned

    Labels

    storeRelated to the store component

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions