Add migration to make sure a SMART entry exists

Ticket:	#5848