Replace sql queues timestamp type with identity(1,1), closes #1117