Database Migration MariaDB to PostgreSQL

@manuel46: See Migrating from MariaDB to PostgreSQL DB - #3 by agriesser if this is still relevant for you.