General DB fixes, adding default cascade behaviour... lets see what explodes!
Fixed rights