spacetimedb-tables

Installation
SKILL.md

Use this skill for module schema and table performance.

Core table patterns

TypeScript tables use table(options, columns) and must be passed to schema() as an object:

import { schema, table, t } from "spacetimedb/server";

const player = table(
  { name: "player", public: true },
  {
    id: t.u64().primaryKey().autoInc(),
    identity: t.identity().unique(),
    name: t.string().index("btree"),
  },
);
Installs
29
GitHub Stars
7
First Seen
May 7, 2026
spacetimedb-tables — danmossa/spacetimedb-skills