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%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-spec fill_db () -> 'ok'.
fill_db () ->
   P0 =
      spe_player:generate
      (
         <<"Player1">>,
         <<"Kalimer0">>,
         <<"Player1@tacticians.online">>
      ),

   P1 =
      spe_player:generate
      (
         <<"Player2">>,
         <<"Kalimer1">>,
         <<"Player2@tacticians.online">>
      ),

   ok.