Parsing attributes restrictions. Added database migration