Edit on GitHub
Jump to docs navigation

Console command / Database / database:prefill

Note: You are currently reading the documentation for Bolt 4.0. Looking for the documentation for Bolt 3.7 instead?

Nut's database:prefill command re-fill the database Lorem Ipsum records.


    php ./bin/console database:prefill [options] [--] [<contenttypes>]...


Argument Description
contenttypes A list of Contentypes to pre-fill. If this argument is empty, all Contenttypes are used


Pre-filling with a "Pages" ContentType

$ php ./bin/console database:prefill pages
Continue with this action? yes
Database pre-filled

Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.