Skip to content
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

Float converts to string on save #7

Open
tom-- opened this issue Jun 29, 2015 · 0 comments
Open

Float converts to string on save #7

tom-- opened this issue Jun 29, 2015 · 0 comments
Assignees
Labels

Comments

@tom--
Copy link
Owner

tom-- commented Jun 29, 2015

PDO doesn't have a type for float so Yii uses string. So a PHP value that was a float is string by the time the DB receives the command.

It might be possible to correct this by adding
[as type] parts to the COLUMN_CREATE()
expression.

@tom-- tom-- added the bug label Jun 29, 2015
@tom-- tom-- self-assigned this Jun 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant