-
Notifications
You must be signed in to change notification settings - Fork 16
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
Deprecate dynamo store #230
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great :)
@@ -0,0 +1,73 @@ | |||
const { PrismaClient } = require("@prisma/client"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stepandel what's the context in which this is run? this is done as part of a script? is this the script you used to port records from dynamo to pg?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, correct -- this is a stand alone script for uploading delegate statements from a json dump into Postgres
* add statement migration script * deperecate dynamo statement store * move aws package to dev dependencies
* add statement migration script * deperecate dynamo statement store * move aws package to dev dependencies
* add statement migration script * deperecate dynamo statement store * move aws package to dev dependencies
* add statement migration script * deperecate dynamo statement store * move aws package to dev dependencies
PR-Codex overview
The focus of this PR is to refactor the codebase to use Prisma for database operations and remove DynamoDB dependency.
Detailed summary
PrismaClient
for database operations