diff --git a/backend/storage/settings.json b/backend/storage/settings.json index 49c5de56..98f127db 100644 --- a/backend/storage/settings.json +++ b/backend/storage/settings.json @@ -611,12 +611,12 @@ "readonly": false } }, - "users": { - "slug": "users", + "document_vectors": { + "slug": "document_vectors", "table": { - "name": "users", + "name": "document_vectors", "pk": "id", - "verbose": "users" + "verbose": "document_vectors" }, "columns": [ { @@ -636,8 +636,8 @@ } }, { - "name": "email", - "verbose": "email", + "name": "docId", + "verbose": "docId", "control": { "text": true }, @@ -652,8 +652,8 @@ } }, { - "name": "password", - "verbose": "password", + "name": "vectorId", + "verbose": "vectorId", "control": { "text": true }, @@ -668,14 +668,46 @@ } }, { - "name": "role", - "verbose": "role", + "name": "document_id", + "verbose": "document_id", "control": { "text": true }, - "type": "text", + "type": "integer", "allowNull": false, - "defaultValue": "'default'::text", + "defaultValue": null, + "listview": { + "show": true + }, + "editview": { + "show": true + } + }, + { + "name": "workspace_id", + "verbose": "workspace_id", + "control": { + "text": true + }, + "type": "integer", + "allowNull": false, + "defaultValue": null, + "listview": { + "show": true + }, + "editview": { + "show": true + } + }, + { + "name": "organization_id", + "verbose": "organization_id", + "control": { + "text": true + }, + "type": "integer", + "allowNull": false, + "defaultValue": null, "listview": { "show": true }, @@ -727,12 +759,12 @@ "readonly": false } }, - "document_vectors": { - "slug": "document_vectors", + "users": { + "slug": "users", "table": { - "name": "document_vectors", + "name": "users", "pk": "id", - "verbose": "document_vectors" + "verbose": "users" }, "columns": [ { @@ -752,8 +784,8 @@ } }, { - "name": "docId", - "verbose": "docId", + "name": "email", + "verbose": "email", "control": { "text": true }, @@ -768,8 +800,8 @@ } }, { - "name": "vectorId", - "verbose": "vectorId", + "name": "password", + "verbose": "password", "control": { "text": true }, @@ -784,8 +816,76 @@ } }, { - "name": "document_id", - "verbose": "document_id", + "name": "role", + "verbose": "role", + "control": { + "text": true + }, + "type": "text", + "allowNull": false, + "defaultValue": "'default'::text", + "listview": { + "show": true + }, + "editview": { + "show": true + } + }, + { + "name": "createdAt", + "verbose": "createdAt", + "control": { + "text": true + }, + "type": "timestamp", + "allowNull": false, + "defaultValue": "CURRENT_TIMESTAMP", + "listview": { + "show": true + }, + "editview": { + "show": true + } + }, + { + "name": "lastUpdatedAt", + "verbose": "lastUpdatedAt", + "control": { + "text": true + }, + "type": "timestamp", + "allowNull": false, + "defaultValue": "CURRENT_TIMESTAMP", + "listview": { + "show": true + }, + "editview": { + "show": true + } + } + ], + "mainview": { + "show": true + }, + "listview": { + "order": {}, + "page": 25 + }, + "editview": { + "readonly": false + } + }, + "system_settings": { + "slug": "system_settings", + "table": { + "name": "system_settings", + "pk": "id", + "verbose": "system_settings" + }, + "columns": [ + { + "name": "id", + "verbose": "id", "control": { "text": true }, @@ -800,12 +900,12 @@ } }, { - "name": "workspace_id", - "verbose": "workspace_id", + "name": "label", + "verbose": "label", "control": { "text": true }, - "type": "integer", + "type": "text", "allowNull": false, "defaultValue": null, "listview": { @@ -816,12 +916,12 @@ } }, { - "name": "organization_id", - "verbose": "organization_id", + "name": "value", + "verbose": "value", "control": { "text": true }, - "type": "integer", + "type": "text", "allowNull": false, "defaultValue": null, "listview": { @@ -1039,12 +1139,12 @@ "readonly": false } }, - "system_settings": { - "slug": "system_settings", + "organization_notifications": { + "slug": "organization_notifications", "table": { - "name": "system_settings", + "name": "organization_notifications", "pk": "id", - "verbose": "system_settings" + "verbose": "organization_notifications" }, "columns": [ { @@ -1064,12 +1164,12 @@ } }, { - "name": "label", - "verbose": "label", + "name": "organization_id", + "verbose": "organization_id", "control": { "text": true }, - "type": "text", + "type": "integer", "allowNull": false, "defaultValue": null, "listview": { @@ -1080,14 +1180,14 @@ } }, { - "name": "value", - "verbose": "value", + "name": "seen", + "verbose": "seen", "control": { "text": true }, - "type": "text", + "type": "char", "allowNull": false, - "defaultValue": null, + "defaultValue": "false", "listview": { "show": true }, @@ -1096,14 +1196,14 @@ } }, { - "name": "createdAt", - "verbose": "createdAt", + "name": "textContent", + "verbose": "textContent", "control": { "text": true }, - "type": "timestamp", + "type": "text", "allowNull": false, - "defaultValue": "CURRENT_TIMESTAMP", + "defaultValue": null, "listview": { "show": true }, @@ -1112,49 +1212,13 @@ } }, { - "name": "lastUpdatedAt", - "verbose": "lastUpdatedAt", - "control": { - "text": true - }, - "type": "timestamp", - "allowNull": false, - "defaultValue": "CURRENT_TIMESTAMP", - "listview": { - "show": true - }, - "editview": { - "show": true - } - } - ], - "mainview": { - "show": true - }, - "listview": { - "order": {}, - "page": 25 - }, - "editview": { - "readonly": false - } - }, - "organization_users": { - "slug": "organization_users", - "table": { - "name": "organization_users", - "pk": "id", - "verbose": "organization_users" - }, - "columns": [ - { - "name": "id", - "verbose": "id", + "name": "symbol", + "verbose": "symbol", "control": { "text": true }, - "type": "integer", - "allowNull": false, + "type": "text", + "allowNull": true, "defaultValue": null, "listview": { "show": true @@ -1164,13 +1228,13 @@ } }, { - "name": "user_id", - "verbose": "user_id", + "name": "link", + "verbose": "link", "control": { "text": true }, - "type": "integer", - "allowNull": false, + "type": "text", + "allowNull": true, "defaultValue": null, "listview": { "show": true @@ -1180,13 +1244,13 @@ } }, { - "name": "organization_id", - "verbose": "organization_id", + "name": "target", + "verbose": "target", "control": { "text": true }, - "type": "integer", - "allowNull": false, + "type": "text", + "allowNull": true, "defaultValue": null, "listview": { "show": true @@ -1239,12 +1303,12 @@ "readonly": false } }, - "organization_notifications": { - "slug": "organization_notifications", + "organization_users": { + "slug": "organization_users", "table": { - "name": "organization_notifications", + "name": "organization_users", "pk": "id", - "verbose": "organization_notifications" + "verbose": "organization_users" }, "columns": [ { @@ -1264,8 +1328,8 @@ } }, { - "name": "organization_id", - "verbose": "organization_id", + "name": "user_id", + "verbose": "user_id", "control": { "text": true }, @@ -1280,28 +1344,12 @@ } }, { - "name": "seen", - "verbose": "seen", - "control": { - "text": true - }, - "type": "char", - "allowNull": false, - "defaultValue": "false", - "listview": { - "show": true - }, - "editview": { - "show": true - } - }, - { - "name": "textContent", - "verbose": "textContent", + "name": "organization_id", + "verbose": "organization_id", "control": { "text": true }, - "type": "text", + "type": "integer", "allowNull": false, "defaultValue": null, "listview": { @@ -1311,54 +1359,6 @@ "show": true } }, - { - "name": "symbol", - "verbose": "symbol", - "control": { - "text": true - }, - "type": "text", - "allowNull": true, - "defaultValue": null, - "listview": { - "show": true - }, - "editview": { - "show": true - } - }, - { - "name": "link", - "verbose": "link", - "control": { - "text": true - }, - "type": "text", - "allowNull": true, - "defaultValue": null, - "listview": { - "show": true - }, - "editview": { - "show": true - } - }, - { - "name": "target", - "verbose": "target", - "control": { - "text": true - }, - "type": "text", - "allowNull": true, - "defaultValue": null, - "listview": { - "show": true - }, - "editview": { - "show": true - } - }, { "name": "createdAt", "verbose": "createdAt",