diff options
| author | Dhravya <[email protected]> | 2024-06-29 09:34:28 -0500 |
|---|---|---|
| committer | Dhravya <[email protected]> | 2024-06-29 09:34:28 -0500 |
| commit | f420dc7616b2e66564a23881a9a2aec7f34df4e0 (patch) | |
| tree | bca7fb126a9aa0a2a945a4b53ff0ce34c0d3d429 /apps/web/server | |
| parent | more tweaks (diff) | |
| download | supermemory-f420dc7616b2e66564a23881a9a2aec7f34df4e0.tar.xz supermemory-f420dc7616b2e66564a23881a9a2aec7f34df4e0.zip | |
schema
Diffstat (limited to 'apps/web/server')
| -rw-r--r-- | apps/web/server/db/schema.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/web/server/db/schema.ts b/apps/web/server/db/schema.ts index 69372a35..b5d9bbdb 100644 --- a/apps/web/server/db/schema.ts +++ b/apps/web/server/db/schema.ts @@ -151,6 +151,7 @@ export const space = createTable( user: text("user", { length: 255 }).references(() => users.id, { onDelete: "cascade", }), + createdAt: int("createdAt", { mode: "timestamp" }).notNull(), }, (space) => ({ nameIdx: index("spaces_name_idx").on(space.name), |