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

Issue with runMigration and MigrationExecutor #7758

Comments

@GabrielPadureanu
Copy link

Trying to get run pending migrations, but I can't get them properly. The array of migrations is currently empty. None of the actions below result in any migration showing up.
image
image
image

ormconfig.json contains the following:
image

@imnotjames
Copy link
Contributor

imnotjames commented Jun 18, 2021

Looks like it can't find your migrations. Pretty sure this is unrelated to the library. Perhaps add **/*.ts.

For questions/general support, please check out the community slack or check TypeORM's documentation page on other support avenues - cheers!

felix-gohla added a commit to giz-berlin/typeorm that referenced this issue May 27, 2022
This commit adds an test for checking whether discriminators are saved
correctly when saving a field with cascade that uses
Single-Table-Inheritance.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue May 27, 2022
This commit fixes the `create` function for EntityManager and Repository
to create entities of correct type when using Single Table Inheritance.
Refactors the otherwise repeated code into a new function on
EntityMetadata.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue May 27, 2022
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue May 27, 2022
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Jul 2, 2022
This commit adds an test for checking whether discriminators are saved
correctly when saving a tree that also uses Single-Table-Inheritance.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Jul 2, 2022
This commit fixes the `create` function for EntityManager and TreeRepository
to create entities of correct type when using Single Table Inheritance
and complex inheritance with Trees.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Aug 22, 2022
This commit adds an test for checking whether discriminators are saved
correctly when saving a field with cascade that uses
Single-Table-Inheritance.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Aug 22, 2022
This commit fixes the `create` function for EntityManager and Repository
to create entities of correct type when using Single Table Inheritance.
Refactors the otherwise repeated code into a new function on
EntityMetadata.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Aug 22, 2022
This commit adds an test for checking whether discriminators are saved
correctly when saving a tree that also uses Single-Table-Inheritance.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Aug 22, 2022
This commit fixes the `create` function for EntityManager and TreeRepository
to create entities of correct type when using Single Table Inheritance
and complex inheritance with Trees.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Oct 2, 2022
This commit adds an test for checking whether discriminators are saved
correctly when saving a field with cascade that uses
Single-Table-Inheritance.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Oct 2, 2022
This commit fixes the `create` function for EntityManager and Repository
to create entities of correct type when using Single Table Inheritance.
Refactors the otherwise repeated code into a new function on
EntityMetadata.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Oct 2, 2022
This commit adds an test for checking whether discriminators are saved
correctly when saving a tree that also uses Single-Table-Inheritance.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Oct 2, 2022
This commit fixes the `create` function for EntityManager and TreeRepository
to create entities of correct type when using Single Table Inheritance
and complex inheritance with Trees.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Nov 7, 2022
This commit adds an test for checking whether discriminators are saved
correctly when saving a field with cascade that uses
Single-Table-Inheritance.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Nov 7, 2022
This commit fixes the `create` function for EntityManager and Repository
to create entities of correct type when using Single Table Inheritance.
Refactors the otherwise repeated code into a new function on
EntityMetadata.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Nov 7, 2022
This commit adds an test for checking whether discriminators are saved
correctly when saving a tree that also uses Single-Table-Inheritance.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Nov 7, 2022
This commit fixes the `create` function for EntityManager and TreeRepository
to create entities of correct type when using Single Table Inheritance
and complex inheritance with Trees.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Nov 7, 2022
This commit adds an test for checking whether discriminators are saved
correctly when saving a tree that also uses Single-Table-Inheritance.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Nov 7, 2022
This commit fixes the `create` function for EntityManager and TreeRepository
to create entities of correct type when using Single Table Inheritance
and complex inheritance with Trees.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Dec 3, 2022
This commit adds an test for checking whether discriminators are saved
correctly when saving a field with cascade that uses
Single-Table-Inheritance.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Dec 3, 2022
This commit fixes the `create` function for EntityManager and Repository
to create entities of correct type when using Single Table Inheritance.
Refactors the otherwise repeated code into a new function on
EntityMetadata.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Dec 3, 2022
This commit adds an test for checking whether discriminators are saved
correctly when saving a tree that also uses Single-Table-Inheritance.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Dec 3, 2022
This commit fixes the `create` function for EntityManager and TreeRepository
to create entities of correct type when using Single Table Inheritance
and complex inheritance with Trees.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Feb 9, 2023
This commit adds an test for checking whether discriminators are saved
correctly when saving a field with cascade that uses
Single-Table-Inheritance.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Feb 9, 2023
This commit fixes the `create` function for EntityManager and Repository
to create entities of correct type when using Single Table Inheritance.
Refactors the otherwise repeated code into a new function on
EntityMetadata.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Feb 9, 2023
This commit adds an test for checking whether discriminators are saved
correctly when saving a tree that also uses Single-Table-Inheritance.

Related to: typeorm#7758
felix-gohla added a commit to giz-berlin/typeorm that referenced this issue Feb 9, 2023
This commit fixes the `create` function for EntityManager and TreeRepository
to create entities of correct type when using Single Table Inheritance
and complex inheritance with Trees.

Related to: typeorm#7758
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment