simonw / git-history

Tools for analyzing Git history using SQLite
Apache License 2.0
191 stars 18 forks source link

Figure out what to do if columns in the data clash with columns used by the tool #8

Closed simonw closed 3 years ago

simonw commented 3 years ago

Columns added by this tool are:

simonw commented 3 years ago

I'm going to add _ suffixes to the columns in the data - so item becomes item_.

If the data has an item_ I will add another underscore, item__.

Special case: if there is only a single ID and it's called id - --id id - I'm not going to change it.

simonw commented 3 years ago

Actually I'm going to completely ban columns called id_ or item_ or version_ or commit_ just for simplicity.