-
Couldn't load subscription status.
- Fork 9
PM-1897 prisma middleware for audit fields #83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
c6ffd1b
PM-1897 - prisma middleware for audit fields & request context
vas3a 665c7dd
PM-1897 - Update scorecard service: remove manual audit fields
vas3a 12d9441
PM-1897 - update submission service
vas3a e6754fc
PM-1897 - remove manual handling of created & updated by
vas3a c85d1a9
lint
vas3a 487f6d5
Merge remote-tracking branch 'origin/develop' into PM-1897_prisma-mid…
vas3a 08c0ca2
PM-1897 - recursively check update & create data objects to see if th…
vas3a 4248e5d
Cleanup manual update for audit fields
vas3a c8a3299
Merge branch 'develop' of github.com:topcoder-platform/review-api-v6 …
vas3a 55f30ee
lint fixes
vas3a ba671d6
Merge branch 'develop' of github.com:topcoder-platform/review-api-v6 …
vas3a 7b5aa62
Merge branch 'develop' of github.com:topcoder-platform/review-api-v6 …
vas3a File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
81 changes: 81 additions & 0 deletions
81
prisma/migrations/20250912082808_make_audit_fields_optional/migration.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| -- -- AlterTable | ||
| -- ALTER TABLE "aiWorkflow" ALTER COLUMN "createdBy" DROP NOT NULL, | ||
| -- ALTER COLUMN "updatedBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "aiWorkflowRunItem" ALTER COLUMN "createdBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "aiWorkflowRunItemComment" ALTER COLUMN "createdBy" DROP NOT NULL, | ||
| -- ALTER COLUMN "updatedBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "appeal" ALTER COLUMN "createdBy" DROP NOT NULL, | ||
| -- ALTER COLUMN "updatedBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "appealResponse" ALTER COLUMN "createdBy" DROP NOT NULL, | ||
| -- ALTER COLUMN "updatedBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "challengeResult" ALTER COLUMN "createdBy" DROP NOT NULL, | ||
| -- ALTER COLUMN "updatedBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "contactRequest" ALTER COLUMN "createdBy" DROP NOT NULL, | ||
| -- ALTER COLUMN "updatedBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "llmModel" ALTER COLUMN "createdBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "llmProvider" ALTER COLUMN "createdBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "resourceSubmission" ALTER COLUMN "createdBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "review" ALTER COLUMN "createdBy" DROP NOT NULL, | ||
| -- ALTER COLUMN "updatedBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "reviewApplication" ALTER COLUMN "createdBy" DROP NOT NULL, | ||
| -- ALTER COLUMN "updatedBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "reviewItem" ALTER COLUMN "createdBy" DROP NOT NULL, | ||
| -- ALTER COLUMN "updatedBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "reviewItemComment" ALTER COLUMN "createdBy" DROP NOT NULL, | ||
| -- ALTER COLUMN "updatedBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "reviewOpportunity" ALTER COLUMN "createdBy" DROP NOT NULL, | ||
| -- ALTER COLUMN "updatedBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "reviewSummation" ALTER COLUMN "createdBy" DROP NOT NULL, | ||
| -- ALTER COLUMN "updatedBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "scorecard" ALTER COLUMN "createdBy" DROP NOT NULL, | ||
| -- ALTER COLUMN "updatedBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "scorecardGroup" ALTER COLUMN "createdBy" DROP NOT NULL, | ||
| -- ALTER COLUMN "updatedBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "scorecardQuestion" ALTER COLUMN "createdBy" DROP NOT NULL, | ||
| -- ALTER COLUMN "updatedBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "scorecardSection" ALTER COLUMN "createdBy" DROP NOT NULL, | ||
| -- ALTER COLUMN "updatedBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "submission" ALTER COLUMN "createdBy" DROP NOT NULL; | ||
|
|
||
| -- -- AlterTable | ||
| -- ALTER TABLE "upload" ALTER COLUMN "createdBy" DROP NOT NULL; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.