title: Spring State machine - Table Scripts
body: <p>Am new to Spring state machine.</p>
  
  <p>I have configured the states &amp; transitions in  a  configuration file, using which am able to orchestrate my micro-services successfully.</p>
  
  <p>Now am planning to persist the states &amp; transitions in an external repository (MYSQL DB)</p>
  
  <p>When i tried to do that using JpaStateMachineRepository, am getting SQL Exception saying state_machine doesn't exists.</p>
  
  <p>So 2 questions
  1. Do we have readily available scripts for creating state machine tables.
  2. Is it possible to have custom tables.</p>