 	userId:
 		type: Seq.UUID
 		allowNull: false
-		unique: "userId:clientId"
 		validate:
-			isAlphanumeric: true
+			isUUID: 4
 			notEmpty: true
 		references:
 			model: Users

	authCode:
		type: Seq.UUID
		allowNull: false
		unique: true
		validate:
			isUUID: 4
			notEmpty: true
		references:
			model: AuthCodes
			key: "id"
}

module.exports = AccessTokens

	clientId:
		type: Seq.UUID
		allowNull: false
		validate:
			isUUID: 4
			notEmpty: true
		references:
			model: Clients
