Skip to content

usewren/db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WREN Database

Postgres database layer for WREN.

Contains the migration runner and all SQL migrations for both the shared common schema (users, API keys, permissions, invites, org members) and per-tenant schemas (documents, versions, labels, paths, collection schemas, asset contents).

Migrations

Migrations are applied automatically on server start. Each tenant schema is migrated independently.

  • migrations/common/ — shared tables (run once)
  • migrations/tenant/ — per-org tables (run per schema)

Links

License

Apache-2.0

About

Postgres migrations — shared common schema + per-tenant schemas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors