Install script, Database structure