emirozer/fake2db

How to get auto-increment ID and specify custom column names?

zulhfreelancer opened this issue · 1 comments

Hi,

I just ran this command:

$ fake2db --rows 3 --db sqlite --custom name date country

And the result that I got:

db

I have 2 questions here:

  1. How do I get auto-increment ID? For example, Francis get id 1 and Robert get id 3?
  2. How do I rename the custom column names? For example, full_name instead of name and birth_date instead of date.

Thank you in advance for your help. This project is very cool and helpful. 🙂

i think you can rename the field name on the question2