Fix: recording filename should be unique, so create one when inserting
into database
Updates database structure