Error: 'The database exists but the structure is not correct' when adding a SQL database