-
-
Notifications
You must be signed in to change notification settings - Fork 15
Fixes that the JTI parent has fields from JTI's #65
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
5678e89
Fixes that the JTI parent has fields from JTI's
meekstellar 28e6f9d
Fixes parent columns deletion if jti has jti
meekstellar 6f3110e
Remove DiscriminatorColumn
msmakouz 982a5a9
Fix parent in JTI
msmakouz 017dfa4
Merge remote-tracking branch 'origin/3.x' into bugfix/jti-columns-in-…
msmakouz 8100751
Up version of cycle/schema-builder
msmakouz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| <?php | ||
|
|
||
| declare(strict_types=1); | ||
|
|
||
| namespace Cycle\Annotated\Tests\Fixtures\Fixtures21; | ||
|
|
||
| use Cycle\Annotated\Annotation\Column; | ||
| use Cycle\Annotated\Annotation\Entity; | ||
| use Cycle\Annotated\Annotation\Inheritance\JoinedTable; | ||
|
|
||
| /** | ||
| * @Entity | ||
| * @JoinedTable | ||
| */ | ||
| #[Entity] | ||
| #[JoinedTable] | ||
| class Buyer extends Person | ||
| { | ||
| /** @Column(type="string") */ | ||
| #[Column(type: 'string')] | ||
| public string $foo; | ||
|
|
||
| /** @Column(type="string") */ | ||
| #[Column(type: 'string')] | ||
| public string $bar; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| <?php | ||
|
|
||
| declare(strict_types=1); | ||
|
|
||
| namespace Cycle\Annotated\Tests\Fixtures\Fixtures21; | ||
|
|
||
| use Cycle\Annotated\Annotation\Column; | ||
| use Cycle\Annotated\Annotation\Entity; | ||
| use Cycle\Annotated\Annotation\Inheritance\JoinedTable; | ||
|
|
||
| /** | ||
| * @Entity | ||
| * @JoinedTable | ||
| */ | ||
| #[Entity] | ||
| #[JoinedTable] | ||
| class Employee extends Person | ||
| { | ||
| /** @Column(type="integer") */ | ||
| #[Column(type: 'integer')] | ||
| public int $salary; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| <?php | ||
|
|
||
| declare(strict_types=1); | ||
|
|
||
| namespace Cycle\Annotated\Tests\Fixtures\Fixtures21; | ||
|
|
||
| use Cycle\Annotated\Annotation\Column; | ||
| use Cycle\Annotated\Annotation\Entity; | ||
| use Cycle\Annotated\Annotation\Inheritance\JoinedTable; | ||
|
|
||
| /** | ||
| * @Entity | ||
| * @JoinedTable | ||
| */ | ||
| #[Entity] | ||
| #[JoinedTable] | ||
| class Executive extends Employee | ||
| { | ||
| /** @Column(type="integer") */ | ||
| #[Column(type: 'integer')] | ||
| public int $bonus; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| <?php | ||
|
|
||
| declare(strict_types=1); | ||
|
|
||
| namespace Cycle\Annotated\Tests\Fixtures\Fixtures21; | ||
|
|
||
| use Cycle\Annotated\Annotation\Column; | ||
| use Cycle\Annotated\Annotation\Entity; | ||
|
|
||
| /** | ||
| * @Entity | ||
| */ | ||
| #[Entity] | ||
| class Person | ||
| { | ||
| /** @Column(type="primary") */ | ||
| #[Column(type: 'primary')] | ||
| protected int $id; | ||
|
|
||
| /** @Column(type="string") */ | ||
| #[Column(type: 'string')] | ||
| public string $name; | ||
|
|
||
| /** @Column(type="string") */ | ||
| #[Column(type: 'string')] | ||
| public string $type; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.