Skip to content

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

@zulhfreelancer

Description

@zulhfreelancer

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. 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions