set null: false to tag_name and category_name