mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-02-20 07:37:26 -05:00
* update landing packages & tailwind * move images * refactor to nextjs * doc stuff * rename markdown to mdx * working docs * Add math * fix pnpm-lock * Code highlighting * fix types * fix more stuff * Notice component and removed slot * delete editorconfig eslint rule * pnpm-lock * some fixes * fixed types (pls) * bump ui's typescript too * commit next-env.d.ts * fix doc links * Use next/head instead of react-helmet & rehype-external-links * fixes * fix unsub from list * add trim() to docs.excerpt * trim doc title too * fix titles * replace <a> to Link * hide .contentlayer & .next from vscode search
25 lines
688 B
Plaintext
25 lines
688 B
Plaintext
---
|
|
index: 10
|
|
---
|
|
|
|
# Database
|
|
|
|
### Schema
|
|
|
|
Our data schema is defined using Prisma, you can [view it on GitHub](https://github.com/spacedriveapp/spacedrive/blob/main/core/prisma/schema.prisma).
|
|

|
|
|
|
### Prisma Client Rust
|
|
|
|
We use Prisma Client Rust as a database ORM, it allows us to use Prisma to define our schema and generate migrations based on modifications to that schema.
|
|
|
|
### Migrations
|
|
|
|
Migrations are run by the Prisma migration engine on app launch.
|
|
|
|
### Database file
|
|
|
|
The databases file is SQLite and can be opened in any SQL viewer.
|
|
|
|

|