[PR #49] [MERGED] Database linking #333

Closed
opened 2026-03-03 11:29:26 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dflow-sh/dflow/pull/49
Author: @pavanbhaskardev
Created: 4/10/2025
Status: Merged
Merged: 4/10/2025
Merged by: @pavanbhaskardev

Base: mainHead: database-linking


📝 Commits (3)

  • 634b2ac chore: added UI setup for database linking
  • bc00e14 chore: added backend-logic for database-linking and environment-variable population
  • c01d596 feat: added unlink & update environment variables

📊 Changes

20 files changed (+1849 additions, -283 deletions)

View changed files

📝 pnpm-lock.yaml (+4 -4)
📝 src/actions/project/index.ts (+27 -4)
📝 src/actions/service/index.ts (+130 -0)
📝 src/actions/service/validator.ts (+13 -1)
📝 src/components/service/CreateService.tsx (+1 -1)
📝 src/components/service/EnvironmentVariablesForm.tsx (+467 -123)
📝 src/components/service/ProviderForm.tsx (+69 -1)
src/components/ui/multiselect.tsx (+619 -0)
📝 src/lib/dokku/config/unset.ts (+21 -6)
📝 src/lib/dokku/plugin/database/link.ts (+22 -12)
📝 src/lib/dokku/plugin/database/unlink.ts (+20 -12)
📝 src/lib/server/docker/createImage.ts (+8 -1)
📝 src/payload-types.ts (+2 -0)
src/payload/collections/Deployments/hooks/triggerDokkuDeployment.ts (+0 -104)
📝 src/payload/collections/Services/index.ts (+17 -0)
📝 src/queues/app/dockerfile-deployment.ts (+21 -5)
src/queues/app/link-database.ts (+209 -0)
📝 src/queues/app/railpack-deployment.ts (+11 -4)
src/queues/app/unlink-database.ts (+177 -0)
📝 src/queues/environment/update.ts (+11 -5)

📄 Description

  1. Added database internal linking

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dflow-sh/dflow/pull/49 **Author:** [@pavanbhaskardev](https://github.com/pavanbhaskardev) **Created:** 4/10/2025 **Status:** ✅ Merged **Merged:** 4/10/2025 **Merged by:** [@pavanbhaskardev](https://github.com/pavanbhaskardev) **Base:** `main` ← **Head:** `database-linking` --- ### 📝 Commits (3) - [`634b2ac`](https://github.com/dflow-sh/dflow/commit/634b2ac21f27276311f0e9e1734cf0feb7f19555) chore: added UI setup for database linking - [`bc00e14`](https://github.com/dflow-sh/dflow/commit/bc00e14539150ae70c9561810261ba3c237913d4) chore: added backend-logic for database-linking and environment-variable population - [`c01d596`](https://github.com/dflow-sh/dflow/commit/c01d596ac3dd20adfb9c3025d16e37ac77cc8d99) feat: added unlink & update environment variables ### 📊 Changes **20 files changed** (+1849 additions, -283 deletions) <details> <summary>View changed files</summary> 📝 `pnpm-lock.yaml` (+4 -4) 📝 `src/actions/project/index.ts` (+27 -4) 📝 `src/actions/service/index.ts` (+130 -0) 📝 `src/actions/service/validator.ts` (+13 -1) 📝 `src/components/service/CreateService.tsx` (+1 -1) 📝 `src/components/service/EnvironmentVariablesForm.tsx` (+467 -123) 📝 `src/components/service/ProviderForm.tsx` (+69 -1) ➕ `src/components/ui/multiselect.tsx` (+619 -0) 📝 `src/lib/dokku/config/unset.ts` (+21 -6) 📝 `src/lib/dokku/plugin/database/link.ts` (+22 -12) 📝 `src/lib/dokku/plugin/database/unlink.ts` (+20 -12) 📝 `src/lib/server/docker/createImage.ts` (+8 -1) 📝 `src/payload-types.ts` (+2 -0) ➖ `src/payload/collections/Deployments/hooks/triggerDokkuDeployment.ts` (+0 -104) 📝 `src/payload/collections/Services/index.ts` (+17 -0) 📝 `src/queues/app/dockerfile-deployment.ts` (+21 -5) ➕ `src/queues/app/link-database.ts` (+209 -0) 📝 `src/queues/app/railpack-deployment.ts` (+11 -4) ➕ `src/queues/app/unlink-database.ts` (+177 -0) 📝 `src/queues/environment/update.ts` (+11 -5) </details> ### 📄 Description 1. Added database internal linking --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 11:29:26 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dflow#333
No description provided.