Fixed a little bug in the schema with respect to the notes table