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

Eloquent type - integer gets converted to mongodb - string. #793

Closed
abhishekgdev opened this issue Mar 24, 2016 · 1 comment
Closed

Eloquent type - integer gets converted to mongodb - string. #793

abhishekgdev opened this issue Mar 24, 2016 · 1 comment

Comments

@abhishekgdev
Copy link

Hello all,

We are trying to migrate a database collection which has columns of type integer and hence we have used $table->integer('column_name'). Post migration when we check in the mongo db, the data type for that column is shown as string.

What can be the reason for this?

Thanks in advance...

@amiri27
Copy link

amiri27 commented May 11, 2016

See this #834

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants