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

Removing seeding via prisma #921

Merged
merged 1 commit into from
Apr 22, 2024
Merged

Removing seeding via prisma #921

merged 1 commit into from
Apr 22, 2024

Conversation

DonKoko
Copy link
Contributor

@DonKoko DonKoko commented Apr 22, 2024

Seeding via prisma was causing lots of different issues both related to docker and normal installs. I have completely removed this and added a DB migration to add the required default roles for the DB to work. No default user is created anymore when setting up the DB.

  • Removed seed command that runs via prisma
  • Removed all files related to seeding DB via prisma
  • Created a migration that creates basic Roles needed for app to function
  • Updated commands in package.json to not include any seeding
  • Updated docker documentation to remove seeding related lines
  • Updated Getting started docs to remove seeding related information
  • Updated .env.example to remove the default values that were used for seeding

- Removed seed command that runs via prisma
- Removed all files related to seeding DB via prisma
- Created a migration that creates basic Roles needed for app to function
- Updated commands in package.json to not include any seeding
- Updated docker documentation to remove seeding related lines
- Updated Getting started docs to remove seeding related information
- Updated .env.example to remove the default values that were used for seeding
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.

None yet

1 participant