Database creation script dependency resolver.