Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 3ff301a

Browse files
chore: fix typos, and update 'variant' description (#2023)
Corrected table name (to schema_version), fixed typo, and added description for the 'variant' column.
1 parent 75ad69c commit 3ff301a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/docs/architecture/cortex-db.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ This document outlines Cortex database architecture which is designed to store a
1616
files and more.
1717

1818
## Table Structure
19-
### schema Table
20-
The `schema` table is designed to hold schema version for cortex database. Below is the structure of the table:
19+
### schema_version Table
20+
The `schema_version` table is designed to hold schema version for cortex database. Below is the structure of the table:
2121

2222
| Column Name | Data Type | Description |
2323
|--------------------|-----------|---------------------------------------------------------|
24-
| schema_version | INTEGER | A unique schema version for database. |
24+
| version | INTEGER | A unique schema version for database. |
2525

2626

2727
### models Table
@@ -64,10 +64,10 @@ Below is the structure of the table:
6464
| api_key | TEXT | |
6565
| url | TEXT | |
6666
| version | TEXT | The current version of the engine. |
67-
| variant | TEXT | |
67+
| variant | TEXT | A string that specifies the specific configuration or build variant of the engine. |
6868
| status | TEXT | Current status of the engine (e.g., "downloaded", "downloadable"). |
6969
| metadata | TEXT | Additional metadata or information about the engine. |
70-
| date_ceated | TEXT | Date when the engine was downloaded. |
70+
| date_created | TEXT | Date when the engine was downloaded. |
7171
| date_updated | TEXT | Date when the engine was last updated. |
7272

7373
### files Table
@@ -79,5 +79,5 @@ The `files` table is designed to hold metadata about objects dowloaded via Corte
7979
| object | TEXT | The type of hardware. |
8080
| purpose | TEXT | Purpose of file |
8181
| filename | TEXT | The name of the file. |
82-
| created_at | INTEGER | Date when file was created |
83-
| bytes | INTEGER | |
82+
| created_at | INTEGER | Date when file was created. |
83+
| bytes | INTEGER | Size of the file on disk in bytes. |

0 commit comments

Comments
 (0)