Skip to content

Inject DB name into model table #449

Open
@chaslain

Description

@chaslain

The generation feature hard codes the schema name. Suppose I have many schemas with identical data definitions in which I'd like to use the same structs for. Or, suppose the name of my schema is config based.

Perhaps allowing injection of an existing sql.DB somewhere in the process could permit this, with a different generation flag to permit this.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions