-
Notifications
You must be signed in to change notification settings - Fork 1
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
Change authorized domain table name to snake case #19
Conversation
timmess
commented
Feb 21, 2024
Q | A |
---|---|
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Fixed issue | #... |
License | MIT |
@@ -8,6 +8,7 @@ | |||
use Sylius\Component\Resource\Model\ResourceInterface; | |||
use Synolia\SyliusAdminOauthPlugin\Repository\AuthorizedDomainRepository; | |||
|
|||
#[ORM\Table(name: 'authorized_domain')] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should prefix it with vendor name (synolia_)
@@ -8,6 +8,7 @@ | |||
use Sylius\Component\Resource\Model\ResourceInterface; | |||
use Synolia\SyliusAdminOauthPlugin\Repository\AuthorizedDomainRepository; | |||
|
|||
#[ORM\Table(name: 'synolia_authorized_domain')] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it a good idea to do this for all attributes? For example, $isEnabled
will be isEnabled
in the database, won't it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Totally
b9b0cef
to
1b29f6d
Compare
You need to upgrade MariaDB
set image: 'mariadb:10.11'
Regards, |