Schema recreate as a module for cli.