Changed inhieratance type to joined

This commit is contained in:
Kevin Frantz 2018-11-20 22:55:20 +01:00
parent 7ca10cf154
commit aab188688c
2 changed files with 38 additions and 35 deletions

View File

@ -218,16 +218,16 @@
},
{
"name": "doctrine/common",
"version": "v2.9.0",
"version": "v2.10.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/common.git",
"reference": "a210246d286c77d2b89040f8691ba7b3a713d2c1"
"reference": "30e33f60f64deec87df728c02b107f82cdafad9d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/common/zipball/a210246d286c77d2b89040f8691ba7b3a713d2c1",
"reference": "a210246d286c77d2b89040f8691ba7b3a713d2c1",
"url": "https://api.github.com/repos/doctrine/common/zipball/30e33f60f64deec87df728c02b107f82cdafad9d",
"reference": "30e33f60f64deec87df728c02b107f82cdafad9d",
"shasum": ""
},
"require": {
@ -237,7 +237,7 @@
"doctrine/event-manager": "^1.0",
"doctrine/inflector": "^1.0",
"doctrine/lexer": "^1.0",
"doctrine/persistence": "^1.0",
"doctrine/persistence": "^1.1",
"doctrine/reflection": "^1.0",
"php": "^7.1"
},
@ -250,7 +250,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.9.x-dev"
"dev-master": "2.10.x-dev"
}
},
"autoload": {
@ -288,16 +288,14 @@
"email": "ocramius@gmail.com"
}
],
"description": "Common Library for Doctrine projects",
"homepage": "https://www.doctrine-project.org",
"description": "PHP Doctrine Common project is a library that provides additional functionality that other Doctrine projects depend on such as better reflection support, persistence interfaces, proxies, event system and much more.",
"homepage": "https://www.doctrine-project.org/projects/common.html",
"keywords": [
"annotations",
"collections",
"eventmanager",
"persistence",
"spl"
"common",
"doctrine",
"php"
],
"time": "2018-07-12T21:16:12+00:00"
"time": "2018-11-21T01:24:55+00:00"
},
{
"name": "doctrine/dbal",
@ -940,16 +938,16 @@
},
{
"name": "doctrine/orm",
"version": "v2.6.2",
"version": "v2.6.3",
"source": {
"type": "git",
"url": "https://github.com/doctrine/doctrine2.git",
"reference": "d2b4dd71d2a276edd65d0c170375b445f8a4a4a8"
"reference": "434820973cadf2da2d66e7184be370084cc32ca8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/doctrine2/zipball/d2b4dd71d2a276edd65d0c170375b445f8a4a4a8",
"reference": "d2b4dd71d2a276edd65d0c170375b445f8a4a4a8",
"url": "https://api.github.com/repos/doctrine/doctrine2/zipball/434820973cadf2da2d66e7184be370084cc32ca8",
"reference": "434820973cadf2da2d66e7184be370084cc32ca8",
"shasum": ""
},
"require": {
@ -1018,20 +1016,20 @@
"database",
"orm"
],
"time": "2018-07-12T20:47:13+00:00"
"time": "2018-11-20T23:46:46+00:00"
},
{
"name": "doctrine/persistence",
"version": "v1.0.1",
"version": "v1.1.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/persistence.git",
"reference": "af1ec238659a83e320f03e0e454e200f689b4b97"
"reference": "c0f1c17602afc18b4cbd8e1c8125f264c9cf7d38"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/persistence/zipball/af1ec238659a83e320f03e0e454e200f689b4b97",
"reference": "af1ec238659a83e320f03e0e454e200f689b4b97",
"url": "https://api.github.com/repos/doctrine/persistence/zipball/c0f1c17602afc18b4cbd8e1c8125f264c9cf7d38",
"reference": "c0f1c17602afc18b4cbd8e1c8125f264c9cf7d38",
"shasum": ""
},
"require": {
@ -1043,17 +1041,17 @@
"php": "^7.1"
},
"conflict": {
"doctrine/common": "<2.9@dev"
"doctrine/common": "<2.10@dev"
},
"require-dev": {
"doctrine/coding-standard": "^4.0",
"doctrine/coding-standard": "^5.0",
"phpstan/phpstan": "^0.8",
"phpunit/phpunit": "^7.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
"dev-master": "1.1.x-dev"
}
},
"autoload": {
@ -1091,12 +1089,16 @@
"email": "ocramius@gmail.com"
}
],
"description": "Doctrine Persistence abstractions.",
"description": "The Doctrine Persistence project is a set of shared interfaces and functionality that the different Doctrine object mappers share.",
"homepage": "https://doctrine-project.org/projects/persistence.html",
"keywords": [
"mapper",
"object",
"odm",
"orm",
"persistence"
],
"time": "2018-07-12T12:37:50+00:00"
"time": "2018-11-21T00:33:13+00:00"
},
{
"name": "doctrine/reflection",
@ -2556,16 +2558,16 @@
},
{
"name": "psr/log",
"version": "1.0.2",
"version": "1.1.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
"reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
"reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
"reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
"url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
"reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
"shasum": ""
},
"require": {
@ -2599,7 +2601,7 @@
"psr",
"psr-3"
],
"time": "2016-10-10T12:19:37+00:00"
"time": "2018-11-20T15:27:04+00:00"
},
{
"name": "psr/simple-cache",

View File

@ -9,10 +9,11 @@ use Symfony\Component\Validator\Constraints as Assert;
/**
* @author kevinfrantz
*
* @todo Change to SINGLE_TABLE. JOINED was necessary because SINGLE_TABLE leaded to:
* @see << SQLSTATE[42S02]: Base table or view not found: 1146 Table 'DEV_DATABASE.source_data_name' doesn't exist >>
* @ORM\Entity
* @ORM\Table(name="source_data_name")
* @ORM\InheritanceType("SINGLE_TABLE")
* @ORM\InheritanceType("JOINED")
* @ORM\DiscriminatorColumn(name="discr", type="string")
* @ORM\DiscriminatorMap({"nickname" = "NicknameSource","firstname" = "FirstNameSource", "surname" = "SurnameSource"})
*/