All your codebase are belong to us.
Some checks failed
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Failing after 9m29s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 10m3s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 10m8s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 10m18s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 10m20s
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 10m23s

This commit is contained in:
2025-05-14 09:09:41 -04:00
parent 02acc9afbe
commit e46bf5a6ec
2 changed files with 87 additions and 0 deletions

View File

@@ -10,6 +10,21 @@
- Docker
- Docker Compose
### migrations
create a new migration
```shell
docker run --rm -v $(PWD):/app siteworxpro/migrate:v4.18.3 create -ext sql -dir /app/db/migrations -seq create_users_table
```
```text
postgres://siteworxpro:password@localhost:5432/siteworxpro?sslmode=disable
```
```shell
docker run --rm -v $(PWD):/app siteworxpro/migrate:v4.18.3 -database "postgres://siteworxpro:password@localhost:5432/siteworxpro?sslmode=disable" -path /app/db/migrations up
```
### Starting the Runtime
```shell
docker-compose up -d