Schema Manager

The schema directory defines Space and Time schemas and schemas are configured by operating over the project's business-objects, tables, and data definitions

Creates an empty project schema in schemas/<schema>

  • npx hardhat sxt-utils:initSchema --schema <schema>

Creates a schema in Space and Time

  • npx hardhat sxt-utils:createSchema --schema <schema>

Drops a schema in Space and Time

  • npx hardhat sxt-utils:dropSchema --schema <schema>

Zips the entire project schema at schemas/<schema> to .tar.gz in root directory

  • npx hardhat sxt-utils:backupSchema --schema <schema>

Restores a <schema>.tar.gz to schemas/<schema>. Force will overwrite an existing schema

  • npx hardhat sxt-utils:restoreSchema --schema <schema> --file <file> --force \<true/false>

What’s Next