[backend] accept articles from crawler
This commit is contained in:
@@ -4,21 +4,21 @@
|
||||
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
|
||||
https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
|
||||
<entity
|
||||
name="App\IdentityAndAccess\Domain\Model\Entity\LoginHistory"
|
||||
repository-class="App\IdentityAndAccess\Infrastructure\Persistence\Doctrine\ORM\LoginAttemptOrmRepository"
|
||||
name="Basango\IdentityAndAccess\Domain\Model\Entity\LoginHistory"
|
||||
repository-class="Basango\IdentityAndAccess\Infrastructure\Persistence\Doctrine\ORM\LoginAttemptOrmRepository"
|
||||
table="login_history"
|
||||
>
|
||||
<id name="id" type="login_history_id">
|
||||
<generator strategy="NONE"/>
|
||||
</id>
|
||||
|
||||
<many-to-one field="user" target-entity="App\IdentityAndAccess\Domain\Model\Entity\User">
|
||||
<many-to-one field="user" target-entity="Basango\IdentityAndAccess\Domain\Model\Entity\User">
|
||||
<join-column nullable="false" on-delete="CASCADE" />
|
||||
</many-to-one>
|
||||
|
||||
<field name="ipAddress" nullable="true" length="15" />
|
||||
<embedded name="device" class="App\SharedKernel\Domain\Model\ValueObject\Tracking\Device" />
|
||||
<embedded name="location" class="App\SharedKernel\Domain\Model\ValueObject\Tracking\GeoLocation" />
|
||||
<embedded name="device" class="Basango\SharedKernel\Domain\Model\ValueObject\Tracking\Device" />
|
||||
<embedded name="location" class="Basango\SharedKernel\Domain\Model\ValueObject\Tracking\GeoLocation" />
|
||||
|
||||
|
||||
<field name="createdAt" type="datetime_immutable"/>
|
||||
|
||||
Reference in New Issue
Block a user