SOS: add database structure creation