db script updated

some changes were done -> follow the erd on our dropbox!