uwidcit / myAdvisorDev

0 stars 6 forks source link

Fix the foreign key and enum issues that occur when switched to postgresql database #85

Closed firepenguindisopanda closed 2 months ago

firepenguindisopanda commented 2 months ago

As a database administrator or software engineer I need to fix foreign key and enum issues that arise when switching to a PostgreSQL database So that the data can be stored without error

Acceptance Criteria

Given a database migration from another system (e.g., MySQL) to PostgreSQL
When the migration is performed
Then the foreign key constraints are correctly applied in PostgreSQL
And the enum types are correctly defined and utilized without causing application errors
uni-paul-taylor2 commented 2 months ago

is the postgres db cleared from the start?

firepenguindisopanda commented 2 months ago

is the postgres db cleared from the start?

When the application is started it is cleared depending on the .env variable

It's refreshed when using npm run dev

firepenguindisopanda commented 2 months ago

Fixed issue

Git commit with fixes