aboutsummaryrefslogtreecommitdiff
path: root/apps/web/server
diff options
context:
space:
mode:
authorDhravya <[email protected]>2024-06-29 12:57:40 -0500
committerDhravya <[email protected]>2024-06-29 12:57:40 -0500
commit3dfdb83f922acf24a724217777611deafc3b4e56 (patch)
tree6bd4dbba650bce295bdf4af9e49bb141922c1ebf /apps/web/server
parentschema (diff)
downloadsupermemory-3dfdb83f922acf24a724217777611deafc3b4e56.tar.xz
supermemory-3dfdb83f922acf24a724217777611deafc3b4e56.zip
memories page
Diffstat (limited to 'apps/web/server')
-rw-r--r--apps/web/server/db/schema.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/web/server/db/schema.ts b/apps/web/server/db/schema.ts
index b5d9bbdb..e1b94cf3 100644
--- a/apps/web/server/db/schema.ts
+++ b/apps/web/server/db/schema.ts
@@ -152,6 +152,7 @@ export const space = createTable(
onDelete: "cascade",
}),
createdAt: int("createdAt", { mode: "timestamp" }).notNull(),
+ numItems: integer("numItems").notNull().default(0),
},
(space) => ({
nameIdx: index("spaces_name_idx").on(space.name),