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

Out of 16K only first 3 records migrated. #140

Open
pimplesushant opened this issue Jun 7, 2017 · 3 comments
Open

Out of 16K only first 3 records migrated. #140

pimplesushant opened this issue Jun 7, 2017 · 3 comments

Comments

@pimplesushant
Copy link

pimplesushant commented Jun 7, 2017

I migrated only 2 tables users (16K records) and gender (3 records) but I got only 3 values in users collection and none in gender.
What am I doing wrong?

Translation is as follows :

table "users" do
column "ID", :key, :as => :integer
column "PRIORITY", :integer
column "FIRST_NAME", :string
column "LAST_NAME", :string
column "USER_NAME", :string
column "GENDER_ID", :integer, :references => "gender"
column "DOB", :date
column "USER_EMAIL", :string
column "USER_ALTERNATE_EMAIL", :string
column "PASSWORD", :string
column "CREATED_ON", :datetime
column "UPDATED_ON", :datetime
column "VERIFIED", :integer
column "UPLOADED_BY", :string
end

table "gender" do
column "ID", :key, :as => :integer
column "GENDER", :string
column "CREATED_ON", :datetime
column "CREATED_BY", :integer
column "UPDATED_ON", :datetime
column "UPDATED_BY", :integer
end

@kunalmestri9
Copy link

kunalmestri9 commented Jun 7, 2017

@pimplesushant I think documentation says to write table name with ( : ) as prefix without any quote

column "GENDER_ID", :integer, :references => :gender

@pimplesushant
Copy link
Author

pimplesushant commented Jun 8, 2017

@kunalmestri9 This is all translated by Mongify. I didn't do any change in it. Let me try applying your solution.

UPDATE : This doesn't make any change in the result.

@anlek
Copy link
Owner

anlek commented Jul 22, 2017

@pimplesushant Where you able to figure out this issue?

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