 _ = require "underscore"
 
+
+# extend nedb to give us a Schema we can generate easily with a stale timestamp
+# this will allow us to do a very simpe garbage collection for these `temporary`
+# objects
 extended = (ds) ->
 
   _.extend @, ds


  @

extended::Schema = (opts) ->

  stale = 1000 * 60 * 60

      garbageCollection self.stale
    , self.stale

  @stale = Date.now() + self.stale

  @
