Database 2

middle in dao design
Please store NULL value in case note doesn't contain attached files.