Fixes after review: dependent: :destroy were added.
Fixes after review: not null constraints were added