DB 11 Oct

Database code scripts from 11 Oct