Skip to content
Branch: master
Find file History

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
migrations
seeds
README.md

README.md

Seeding and Migrations

If you make changes to a Keystone List and have existing data, you will need to run migrations.

This project uses Knex migration and seed files. Seeding and migrations are run (if required) everytime Keystone is started. See the prestart script in package.json.

The data folder contains all of the migration and seed files.

You can create a new migration file with the command npx knex migrate:make migration_name.

See the Keystone Migration Guide and Knex Migration Documentation for more information.

You can’t perform that action at this time.