Introduce Database handling through SeaORM
This commit is contained in:
parent
37331cd24d
commit
e4765a20ef
12 changed files with 169 additions and 2 deletions
4
.envrc
4
.envrc
|
|
@ -2,3 +2,7 @@ if ! has nix_direnv_version || ! nix_direnv_version 2.1.1; then
|
|||
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.1.1/direnvrc" "sha256-b6qJ4r34rbE23yWjMqbmu3ia2z4b2wIlZUksBke/ol0="
|
||||
fi
|
||||
use flake
|
||||
|
||||
export REGALADE_JWT_SECRET=B50D8FB3A6DC3073259062EFFD03A283416A81ED3183C44DEE179AFF76C00B58
|
||||
export REGALADE_DATABASE_URL=postgres://traxys/regalade?host=/var/run/postgresql
|
||||
export DATABASE_URL=$REGALADE_DATABASE_URL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue