Add factory SQLRepository