aboutsummaryrefslogtreecommitdiff
path: root/apps/web/migrations/meta/0000_snapshot.json
diff options
context:
space:
mode:
authorDhravya <[email protected]>2024-07-01 07:55:16 -0500
committerDhravya <[email protected]>2024-07-01 07:55:16 -0500
commitb00dbd46476636fea1f48bf5164136e3bf217349 (patch)
tree2403fd1c546dd6fc0b94e5d72f6fb313e855a7f7 /apps/web/migrations/meta/0000_snapshot.json
parentmerge conflicts (diff)
downloadsupermemory-dev.tar.xz
supermemory-dev.zip
minor changes in extensiondev
Diffstat (limited to 'apps/web/migrations/meta/0000_snapshot.json')
-rw-r--r--apps/web/migrations/meta/0000_snapshot.json75
1 files changed, 8 insertions, 67 deletions
diff --git a/apps/web/migrations/meta/0000_snapshot.json b/apps/web/migrations/meta/0000_snapshot.json
index 92a05c00..291848ad 100644
--- a/apps/web/migrations/meta/0000_snapshot.json
+++ b/apps/web/migrations/meta/0000_snapshot.json
@@ -1,7 +1,7 @@
{
"version": "6",
"dialect": "sqlite",
- "id": "58ec8bd8-5aad-4ade-a718-74eaf6056d36",
+ "id": "6988522d-8117-484d-b52a-94c0fbd75140",
"prevId": "00000000-0000-0000-0000-000000000000",
"tables": {
"account": {
@@ -191,69 +191,6 @@
},
"uniqueConstraints": {}
},
- "canvas": {
- "name": "canvas",
- "columns": {
- "id": {
- "name": "id",
- "type": "text",
- "primaryKey": true,
- "notNull": true,
- "autoincrement": false
- },
- "title": {
- "name": "title",
- "type": "text",
- "primaryKey": false,
- "notNull": true,
- "autoincrement": false,
- "default": "'Untitled'"
- },
- "description": {
- "name": "description",
- "type": "text",
- "primaryKey": false,
- "notNull": true,
- "autoincrement": false,
- "default": "'Untitled'"
- },
- "url": {
- "name": "url",
- "type": "text",
- "primaryKey": false,
- "notNull": true,
- "autoincrement": false,
- "default": "''"
- },
- "userId": {
- "name": "userId",
- "type": "text",
- "primaryKey": false,
- "notNull": true,
- "autoincrement": false
- }
- },
- "indexes": {
- "canvas_user_userId": {
- "name": "canvas_user_userId",
- "columns": ["userId"],
- "isUnique": false
- }
- },
- "foreignKeys": {
- "canvas_userId_user_id_fk": {
- "name": "canvas_userId_user_id_fk",
- "tableFrom": "canvas",
- "tableTo": "user",
- "columnsFrom": ["userId"],
- "columnsTo": ["id"],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {}
- },
"chatHistory": {
"name": "chatHistory",
"columns": {
@@ -478,6 +415,13 @@
"primaryKey": false,
"notNull": false,
"autoincrement": false
+ },
+ "createdAt": {
+ "name": "createdAt",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
}
},
"indexes": {
@@ -737,8 +681,5 @@
"schemas": {},
"tables": {},
"columns": {}
- },
- "internal": {
- "indexes": {}
}
}