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

Create database SQL queries #48

Open
amellie opened this issue Jul 23, 2022 · 0 comments
Open

Create database SQL queries #48

amellie opened this issue Jul 23, 2022 · 0 comments
Assignees

Comments

@amellie
Copy link
Collaborator

amellie commented Jul 23, 2022

User Story

As a developer
When I run the SQL queries
Then I can have my database refreshed with all real data

Requirements

  • The SQL queries should be saved into one file (.sql) and should be included in the repository
  • At the minimum, add the INSERT statements to all the existing tables using live data, including some submissions, marks, etc
  • If you have time: also include the DROP and CREATE tables of SQL statements before the INSERT statements

To save time, what you can do is to export your database as per instructions: https://www.prisma.io/dataguide/postgresql/inserting-and-modifying-data/importing-and-exporting-data-in-postgresql

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

No branches or pull requests

2 participants