Load

Load seed data into the database.

Syntax

$ vela seeds load

This will load seed data into the database from the data/seeds directory. Seed files are loaded in alphabetical order and prefixed with a number to ensure a deterministic loading order.

Options

  • -f, --force - Load even if target collections already have records

By default, loading stops short of a collection that already holds data, so seeding twice cannot quietly duplicate it. --force loads anyway.

vela test:server loads seeds into its own database automatically; this command is for the one you develop against.