Skip to content

Use the same schema and model for different tables (MySQL) #4669

Answered by weiznich
Zannick asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not sure what else to add to what I've written above: If you want to have a dynamic schema you need to use `diesel-dynamic-schema' (or build your own extensions). It's an explicit design decision to not offer ways to dynamically change the table name of static schemas.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Zannick
Comment options

@Zannick
Comment options

@weiznich
Comment options

Answer selected by Zannick
@Zannick
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants