|
|
||
|---|---|---|
| .github | ||
| .vscode | ||
| docs | ||
| src | ||
| test | ||
| .dockerignore | ||
| .editorconfig | ||
| .gitignore | ||
| .imgbotconfig | ||
| .nvmrc | ||
| .releaserc | ||
| .renovaterc | ||
| CHANGELOG.md | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| docker-entrypoint.sh | ||
| Dockerfile | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
Sqitch
Sqitch is the database migration tool driving Vibetype.
📋 Table of Contents
🛠️ Quickstart
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 fixtures
After 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.
🧊 If your terminal hangs while running the commands above, it may be related to IPv6 DNS configuration. To check if IPv6 DNS addresses are in use, run
nmcli dev show | grep DNSand look for lines labeledIP6.DNS. Disabling IPv6, e.g. by commenting out::1 localhostin your/etc/hostsfile, may resolve the issue.
📚 Documentation
To fully understand the quick start commands above and Vibetype's database concepts, check out the onboarding and in-depth guides below.
🧭 Onboarding
- Project
- Database concepts
🔍 In-Depth Guides
- Project
- Database concepts
🚀 Preview
Here’s a visual overview of what Sqitch creates (click here to zoom in):
