]> git.ipfire.org Git - people/ms/libloc.git/commit
location-importer.in: track original countries as well
authorPeter Müller <peter.mueller@ipfire.org>
Sun, 30 May 2021 08:50:04 +0000 (10:50 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 7 Jun 2021 11:29:48 +0000 (11:29 +0000)
commitb6b2b3310fac8941419bbacea48870b1d4242a13
treeab4a3149b92af35735f43e2ca5387626762d69a4
parent509f98b1bf8346877b6cb58ebd9bf81761c019ed
location-importer.in: track original countries as well

This helps us to determine how many network objects have more than one
country set, and what their original country code set looked like.

The third version of this patch uses ALTER TABLE to add the column for
original countries, preventing existing SQL setups from breaking, and is
correctly based against the current "master" branch.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/python/location-importer.in