delimiter $$

CREATE TABLE `notes` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `Username` varchar(256) DEFAULT NULL,
  `Timestamp` datetime DEFAULT NULL,
  `NoteText` longtext,
  `AttachmentFilename` varchar(256) DEFAULT NULL,
  `Sticky` tinyint(1) DEFAULT NULL,
  `Attachment` longblob,
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1$$

