Get the id of the table when dump
alexander-isaid opened this issue · 1 comments
alexander-isaid commented
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 commented
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