Skip to content

Provide a built-in 'seeds' feature to add initial data to the database #1466

@rainboyan

Description

@rainboyan

This command is used to add initial data after a database is created, which delegates to the runScript command to execute the db/seeds.groovy script.

$ grace db:seed

same as,

$ grace run-script db/seeds.groovy

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions