Validate documnet number
Add migration