mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-13 07:25:17 +00:00
feat(database): add unique constraint to preview_deployments table and update schema
- Introduced a new SQL file to add a unique constraint on the combination of applicationId and pullRequestId in the preview_deployments table. - Updated the _journal.json to include the new migration entry for version 142. - Created a new snapshot file for version 142 to reflect the current database schema. - Modified the preview-deployments schema to include a unique index for applicationId and pullRequestId, enhancing data integrity.
This commit is contained in:
@@ -57,7 +57,10 @@ const { handler, api } = betterAuth({
|
||||
...(settings?.serverIp ? [`http://${settings?.serverIp}:3000`] : []),
|
||||
...(settings?.host ? [`https://${settings?.host}`] : []),
|
||||
...(process.env.NODE_ENV === "development"
|
||||
? ["http://localhost:3000"]
|
||||
? [
|
||||
"http://localhost:3000",
|
||||
"https://absolutely-handy-falcon.ngrok-free.app",
|
||||
]
|
||||
: []),
|
||||
...trustedOrigins,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user