[Chapter 9] Remove "chapter7" prefix from tables in the database. They are the only ones.

This commit is contained in:
Carlos Buenosvinos
2022-03-12 17:18:59 +01:00
parent 7e78433a7d
commit 3455ff09d6
3 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
<entity name="Cheeper\Chapter7\DomainModel\Author\Author" table="chapter7_authors">
<entity name="Cheeper\Chapter7\DomainModel\Author\Author" table="authors">
<id name="authorId" type="string" column="author_id" length="36">
<generator strategy="NONE"/>
</id>

View File

@@ -3,7 +3,7 @@
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
<entity name="Cheeper\Chapter7\DomainModel\Cheep\Cheep" table="chapter7_cheeps">
<entity name="Cheeper\Chapter7\DomainModel\Cheep\Cheep" table="cheeps">
<id name="cheepId" column="cheep_id" type="string" length="36">
<generator strategy="NONE"/>
</id>

View File

@@ -3,7 +3,7 @@
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
<entity name="Cheeper\Chapter7\DomainModel\Follow\Follow" table="chapter7_follows">
<entity name="Cheeper\Chapter7\DomainModel\Follow\Follow" table="follows">
<id name="followId" type="string" column="follow_id" length="36">
<generator strategy="NONE"/>
</id>