Skip to content
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

adds_module_migration #1346

Merged
merged 1 commit into from
Jan 28, 2022
Merged

adds_module_migration #1346

merged 1 commit into from
Jan 28, 2022

Conversation

anso3
Copy link
Collaborator

@anso3 anso3 commented Jan 27, 2022

This issue closes #1334.

This adds a table to the c0d3 Postgres database.
https://www.prisma.io/docs/concepts/components/prisma-migrate

I edited the prisma.schema file to add module model. It has two foreign keys to a user(author) and lesson.
After I edited the model I ran npx prisma migrate dev on the terminal.
This is the first step in allowing crud operations for modules. Modules will be used to organize exercises for the dojo.

@vercel
Copy link

vercel bot commented Jan 27, 2022

@mino323 is attempting to deploy a commit to a Personal Account owned by @garageScript on Vercel.

@garageScript first needs to authorize it.

@codecov
Copy link

codecov bot commented Jan 27, 2022

Codecov Report

Merging #1346 (3621b8f) into master (8cd6ca1) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master     #1346   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          146       146           
  Lines         2454      2451    -3     
  Branches       638       638           
=========================================
- Hits          2454      2451    -3     
Impacted Files Coverage Δ
helpers/static/parseMDX.ts 100.00% <0.00%> (ø)

@vercel
Copy link

vercel bot commented Jan 27, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/c0d3/c0d3-app/6fZkE1uhaZ76yDey5zKJj8DZ8WYn
✅ Preview: https://c0d3-app-git-fork-mino323-master-c0d3.vercel.app

Copy link
Member

@flacial flacial left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@anso3 anso3 merged commit d62e3a9 into garageScript:master Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Module scheme for the Dojo
3 participants