Skip to content

docs: fix missing DataSource in migrations config - #11249

Merged
michaelbromley merged 1 commit into
typeorm:masterfrom
maciej-ka:docs-fix-migration-config
Feb 14, 2025
Merged

michaelbromley merged 1 commit into
typeorm:masterfrom
maciej-ka:docs-fix-migration-config

Conversation

@maciej-ka

@maciej-ka maciej-ka commented Jan 17, 2025 •

Copy link
Copy Markdown
Contributor

Motivation

Running migrations using current documentation ends with error:
Error: Given data source file must contain export of a DataSource instance

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • npm run format to apply prettier formatting
  • npm run test passes with this change N/A
  • This pull request links relevant issues as Fixes #0000 N/A
  • There are new or updated unit tests validating the change N/A
  • Documentation has been updated to reflect this change N/A
  • The new commits follow conventions explained in CONTRIBUTING.md N/A

@gioboa gioboa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks @maciej-ka nice catch 👏

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 72.343% (-0.02%) from 72.359%
when pulling 80fb869 on maciej-ka:docs-fix-migration-config
into 9d1d3f1 on typeorm:master.

@michaelbromley
michaelbromley merged commit 87b9fad into typeorm:master Feb 14, 2025
@maciej-ka
maciej-ka deleted the docs-fix-migration-config branch February 15, 2025 05:58
aberonni pushed a commit to global-121/typeorm that referenced this pull request Mar 5, 2025
ThbltLmr pushed a commit to ThbltLmr/typeorm that referenced this pull request Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

5 participants