Sqitch is the database migration tool driving Vibetype.
Make sure you understand what Sqitch does, i.e. have a look into Sqitch's documentation.
This project is designed to be used within the maevsi/stack. To get started, follow the Vibetype fullstack setup guide. Once your development environment is running, use these commands to manage database migrations:
npm run deploy # apply database migrations
npm run revert # roll back database migrations
npm run test # execute test suite
npm run test:data:add # add test data migration
npm run test:data:remove # remove test data migration
npm run test:update # update test fixturesAfter setup, you can inspect and test GraphQL queries and mutations using GraphiQL at https://postgraphile.localhost/graphiql.
💡 You can run
npm run sqitch <command> [options]to access full Sqitch functionality.
To fully understand the quick start commands above and Vibetype's database concepts, check out the onboarding and in-depth guides below.
- Project
- Database concepts
- Project
- Database concepts
Here’s a visual overview of what Sqitch creates (click here to zoom in):
