Skip to content
  • Jean Parpaillon's avatar
    Fix storage_up and checkout · 948202b0
    Jean Parpaillon authored
    When mnesia is started, it does not mean schema is loaded and tables are available.
    
    This patch ensure storage is ready when repo functions are called:
    
    * `storage_up` creates base mnesia schema + id_seq and constraints table
    * `checkout` ensures id_seq and constraints tables are available before returning
    * `migrations` uses `checkout` to ensure DB is ready before adding tables
    948202b0