Skip to content

[Request] Allow seeding with --bench, --path or --package option #75

Closed
@duellsy

Description

@duellsy

I'm creating a package at the moment, which relies on a table being created via a migration, however this table needs to be prefilled with a standard set of data that will be used when connecting to the 3rd party site. So initially I thought I'd be able to just create a seeds folder inside my package and add the data as an array in there, however it seems that I can't run this seed since it's not in the location that db:seed looks.

So, my request is that the user be able to add the flag of --package or --bench, just like when running migrations, so they can seed the table created by the package.

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