Skip to content

Run the seeders: bin/cake migrations seed not working/exist #1021

@myspeleo

Description

@myspeleo

When running the cmd bin/cake migrations seed as in Cake PHP manual, seed is not recognised as a migrations command, as follows:

> bin/cake migrations seed
> Could not find migrations command named `seed`. Run `migrations --help` to get a list of commands.

> bin/cake migrations --help
> Migrations
> 
> Migrations provides commands for managing your application's database schema and initial data.
> 
> bake:
>   bake migration_diff
>   bake migration_snapshot
>   bake seed
> 
> migrations:
>   migrations create
>   migrations dump
>   migrations mark_migrated
>   migrations migrate
>   migrations rollback
>   migrations status
>   migrations upgrade
> 
> To run a command, type `cake command_name [args|options]`
> To get help on a specific command, type `cake command_name --help`
> To see full descriptions and plugin grouping, use `cake --help -v`

Can you see what is wrong with that? Thank you, All the best!

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