Vibetype's database migrations. https://maev.si
  • PLpgSQL 97.4%
  • Shell 2%
  • Dockerfile 0.6%
Find a file
2026-06-11 00:39:09 +02:00
.github chore(deps): add datasource and distro to renovate comments 2026-06-11 00:39:09 +02:00
.vscode chore(ide): shorten vscode default formatter setting 2026-02-18 07:35:24 +01:00
docs docs: explain migrations in more detail 2026-05-26 04:52:00 +02:00
src feat(reccoom): add role 2026-04-11 13:35:03 +02:00
test feat(reccoom): add role 2026-04-11 13:35:03 +02:00
.dockerignore chore(docker): pin checksum on debezium postgres image (#138) 2025-01-31 23:44:12 +01:00
.editorconfig chore: add editorconfig 2023-11-04 00:38:28 +01:00
.gitignore feat: setup own repository 2023-05-13 00:44:16 +02:00
.imgbotconfig docs(postgres): explain roles and vacuum (#181) 2025-03-31 11:26:05 +02:00
.nvmrc chore(deps): update node.js to v24 2025-10-28 19:43:23 +00:00
.releaserc.json refactor: append file ending to configurations 2026-06-10 13:19:42 +02:00
.renovaterc.json chore(deps): remove upstream renovate configuration 2026-06-10 23:02:04 +02:00
AGENTS.md docs(agents): instruct docker 2026-04-21 22:16:15 +02:00
CHANGELOG.md chore(release): 11.1.6 [skip ci] 2026-06-06 02:11:02 +00:00
CODE_OF_CONDUCT.md docs: create code of conduct 2024-10-13 02:06:44 +02:00
CODEOWNERS chore(git): add code owner 2026-02-20 05:11:28 +01:00
CONTRIBUTING.md docs: explain migrations in more detail 2026-05-26 04:52:00 +02:00
docker-entrypoint.sh refactor(environment)!: dissolve target variable file 2025-03-17 15:00:19 +01:00
Dockerfile chore(deps): add datasource and distro to renovate comments 2026-06-11 00:39:09 +02:00
package.json chore(release): 11.1.6 [skip ci] 2026-06-06 02:11:02 +00:00
pnpm-lock.yaml chore(deps): update pnpm to v11 (#306) 2026-05-10 15:31:29 +02:00
README.md chore(sqitch): work around ipv6 issue 2026-01-26 05:17:35 +01:00

Sqitch

Sqitch

Sqitch is the database migration tool driving Vibetype.

📋 Table of Contents

  1. 🛠️ Quickstart
  2. 📚 Documentation
  3. 🚀 Preview

🛠️ 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.

📚 Documentation

To fully understand the quick start commands above and Vibetype's database concepts, check out the onboarding and in-depth guides below.

🧭 Onboarding

  1. Project
    1. Code Structure
    2. Contributing
    3. Code of Conduct
  2. Database concepts
    1. Roles
    2. Row Level Security

🔍 In-Depth Guides

  1. Project
    1. Code Structure
    2. Changelog
  2. Database concepts
    1. Row Level Security
    2. Vacuuming

🚀 Preview

Heres a visual overview of what Sqitch creates (click here to zoom in):

Database Schema