# How to ensure indices of stream db?

  1. Enter sbt shell (else use the project executable)

  2. Run command ensureEtypeIndex inside the stream module

     


    [Lottery] $ LotteryStream/stream ensureEtypeIndex
    creating the index on et for LotteryStream ...  done!