The database directory is where you would store your custom migrations and seeds.
Tip
You may not need the database folder at all. Defining your models may be enough for your use case. Read more.
The following command will bootstrap a new migration file in the database/migrations
directory:
# automated migrations
buddy migrate
# automated seeds
buddy seed
In case you need more seeding customization, you can create a ./database/seeder.ts
which, if found, is triggered instead.
Click here to learn more.
Please review the Contributing Guide for details.
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
For casual chit-chat with others using this package:
Join the Stacks Discord Server
The MIT License (MIT). Please see LICENSE for more information.
Made with 💙