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

Get the id of the table when dump #152

Open
alexander-isaid opened this issue Nov 25, 2020 · 1 comment
Open

Get the id of the table when dump #152

alexander-isaid opened this issue Nov 25, 2020 · 1 comment

Comments

@alexander-isaid
Copy link

Hello, how are you? Could you support me? I have tried to dump the ID of the table into a file, I have placed the attribute WITH_ID = 1 but I can't get the id of the table. I appreciate your help.

@sbatson5
Copy link

When you run the command, id is excluded by default (as listed in the exclude section in the README. Just run
rake db:seed:dump EXCLUDE=created_at,updated_at

This will exclude the timestamps but not the id

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

2 participants