Skip to content

fix(database): resolve migration failures#837

Open
mohamedabdelaziem123 wants to merge 1 commit into
code-flexing:mainfrom
mohamedabdelaziem123:fix/migration-type-errors
Open

fix(database): resolve migration failures#837
mohamedabdelaziem123 wants to merge 1 commit into
code-flexing:mainfrom
mohamedabdelaziem123:fix/migration-type-errors

Conversation

@mohamedabdelaziem123

@mohamedabdelaziem123 mohamedabdelaziem123 commented Jul 9, 2026

Copy link
Copy Markdown

This PR fixes the database migration errors that prevent the project from being set up locally.

What changed and why:

  • Added explicit PostgreSQL types (varchar, timestamp, uuid) to all entity @Column() decorators to fix Object type errors.
  • Updated data-source.ts to explicitly import all 33 migrations in their correct dependency order, ensuring no migrations are skipped.
  • Deleted duplicate migration files that caused "relation already exists" errors.
  • Fixed jsonb default syntax and a non-existent findColumn() API call in the migration files.

Closes #836

@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

@mohamedabdelaziem123 is attempting to deploy a commit to the vic's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

fix(database): npm run migration:run fails with multiple errors preventing project setup

1 participant