Vibetype's database migrations. https://maev.si
Find a file
Jonas Thelemann f3ca5b1e1e
Merge pull request #264 from maevsi/test/contact/create-update-delete
test(contact): create, update, delete
2025-12-06 02:32:34 +01:00
.github chore(deps): update dargmuesli/github-actions action to v3.2.2 2025-12-03 04:40:14 +00:00
.vscode chore(vscode): add configuration 2023-11-04 00:38:39 +01:00
docs test(data): replace git patch with raw source and shell script 2025-07-23 05:47:55 +02:00
src fix(contact): correct account id trigger function for null check 2025-12-06 02:25:56 +01:00
test test(contact): create, update, delete 2025-12-06 02:28:01 +01: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 ci(release): use conventional commits 2023-09-12 12:50:23 +02:00
.renovaterc chore(renovate): remove package rules 2023-06-02 11:24:03 +02:00
CHANGELOG.md chore(release): 9.8.2 [skip ci] 2025-12-06 01:29:24 +00:00
CODE_OF_CONDUCT.md docs: create code of conduct 2024-10-13 02:06:44 +02:00
CONTRIBUTING.md chore(deps): remove commitlint 2025-08-19 20:18:11 +02:00
docker-entrypoint.sh refactor(environment)!: dissolve target variable file 2025-03-17 15:00:19 +01:00
Dockerfile docs(docker): explain why alpine is not used 2025-11-20 23:26:11 +01:00
package.json chore(release): 9.8.2 [skip ci] 2025-12-06 01:29:24 +00:00
pnpm-lock.yaml chore(deps): update all non-major dependencies 2025-09-06 16:03:40 +00:00
README.md docs(readme): improve wording of ipv6 hint 2025-11-13 00:48:44 +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.

🧊 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 DNS and look for lines labeled IP6.DNS. Disabling IPv6, e.g. by commenting out ::1 localhost in your /etc/hosts file, 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

  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