Add calckey

This commit is contained in:
Daniel Mason 2023-05-01 21:40:06 +12:00
parent c252860d87
commit 6fdda6c360
Signed by: idanoo
GPG key ID: 387387CDBC02F132
3 changed files with 23 additions and 0 deletions

View file

@ -65,4 +65,9 @@ var (
BOOKWYRM_DB_SCHEMA string
BOOKWYRM_USER_QUERY = "SELECT count(*) FROM bookwyrm_user WHERE local = True AND is_active = True;"
BOOKWYRM_IDENTIFIER = "bookwyrm"
// Calckey
CALCKEY_DB_SCHEMA string
CALCKEY_USER_QUERY = `SELECT count(*) FROM "user" WHERE "isDeleted" = False and "host" IS NULL;`
CALCKEY_IDENTIFIER = "calckey"
)