Added NOT NULL constraints to necessary fields.