-
Notifications
You must be signed in to change notification settings - Fork 33
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
Suggest to change "camelCase" column name to "camel_case" #11
Comments
ihipop
changed the title
Suggest to change camelCase column name to camel)case
Suggest to change "camelCase" column name to “camel_case”
Apr 13, 2017
ihipop
changed the title
Suggest to change "camelCase" column name to “camel_case”
Suggest to change "camelCase" column name to "camel_case"
Apr 13, 2017
Hi, thanks for issue. We have plans for change columns/table-names in all our repos. In the next few days we'll start. |
@igor-chepurnoi if there was any |
ok, thanks for help |
Resolved by #12 |
Please execute new migration by the following command: $ php yii migrate --migrationPath=@vendor/yii2mod/yii2-settings/migrations |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yii2-settings/migrations/m150227_114524_init.php
Line 28 in 0c91602
In Yii2's
TimestampBehavior
,Default$createdAtAttribute
iscamel_case
stylecamel_case
style column name is most common database practise supported byPDO
when writing a
SQL
by hand,camel_case
style can keep the consistency of SQL, to avoid a mixed use ofcamelCase
andcamelcase
TableName
inCamelCase
is unacceptable onconsistency
when deploying among different databases and platforms supported byPDO
This is just a Suggestion
The text was updated successfully, but these errors were encountered: