Load
Load seed data into the database from the data/seeds directory. Seed data files are loaded in alphabetical order and prefixed with a number to ensure deterministic loading order.
Use this to install the baseline records your application depends on. Seeds are appropriate for development, testing, preview, and production environments.
Typical seeded records include:
- roles and permission levels
- statuses
- subscription plans
- default locales
- feature definitions
- global settings
- system-owned records
Seed loading should produce a clean, predictable starting state for required app data.
Syntax
$ vela seeds load [options] Options
-f, --force
Load seeds even if target collections already contain records.
Use when intentionally replacing or reapplying seed data in a non-empty database. This should be used carefully in shared or production environments.