]> git.ipfire.org Git - location/location-database.git/commit
Replace sqlite with PostgreSQL
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 17 Jun 2018 20:25:55 +0000 (21:25 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 17 Jun 2018 20:25:55 +0000 (21:25 +0100)
commit44c781ac664bf0f6670651e0a721fe2ddc446e66
tree77efbe5eaa5c7fa917133a6af25aaad5ec3d7cbb
parentf41a0f40756812e5b04706a6c6228f8aa6793883
Replace sqlite with PostgreSQL

sqlite cannot match any subnets which makes it useless for us.

PostgreSQL has a data type for IP addresses which can be used
to match subnets against each other.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tools/base.py