CREATE TABLE IF NOT EXISTS `chirocanto`.`records` 
( `id` INT NOT NULL AUTO_INCREMENT , 
 `entry_timestamp` INT NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Timestamp when entered in database' ,
 `author_id` INT NOT NULL COMMENT 'author_id associated with author table' , 
 `file_name` VARCHAR(125) NOT NULL COMMENT 'Name of uploaded file.' , 
 `license` VARCHAR(25) NOT NULL COMMENT 'License of uploaded file.' ,
 `species` VARCHAR(50) NOT NULL COMMENT 'Species of uploaded sound.' , 
 `subspecies` VARCHAR(50) NOT NULL COMMENT 'Subspecies of uploaded sound.' , 
 `sound_type` VARCHAR(25) NOT NULL COMMENT 'Sound type of the file.' , 
 `coordinates` POINT NOT NULL COMMENT 'Coordinates of the record.' , 
 `country` VARCHAR NOT NULL COMMENT 'Country of the record.' , 
 `date` DATE NOT NULL COMMENT 'Date of the record.' , 
 `time` TIME NOT NULL COMMENT 'Time of the record.' , 
 `remarks` TEXT NOT NULL COMMENT 'Remarks given for this record.' , 
 PRIMARY KEY (`id`)) 
 ENGINE = InnoDB; 
