Table Definitions

Table definitions can be exported and used by other Space and Time clients

Creates and saves a table definition defined by the specified table's business object definition and security artifacts.

  • npx hardhat sxt-utils:saveTableDefinitions --schema <schema> --businessobject ToDo

Lists Table Definition

{
  "schema": "SXT_UTILS",
  "tableName": "LISTS",
  "resourceId": "SXT_UTILS.LISTS",
  "accessType": "permissioned",
  "columns": [
    {
      "columnName": "id",
      "columnType": "INTEGER",
      "columnAttributes": []
    },
    {
      "columnName": "list",
      "columnType": "VARCHAR(256)",
      "columnAttributes": []
    }
  ],
  "primaryKeys": [
    "id"
  ],
  "indexes": [],
  "biscuits": {
    "dml": "Ep4CCr...",
    "ddl": "EuIBCn...",
    "dql": "EqoBCk...",
    "admin": "EtYCC...",
    "wildcard": "EqEBC..."
  },
  "security": {
    "ED25519PublicKeyUint": {...},
    "ED25519PrivateKeyUint": {...},
    "b64PublicKey": "...",
    "b64PrivateKey": "...",
    "hexEncodedPublicKey": "...",
    "hexEncodedPrivateKey": "..."
  }
}

What’s Next