mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
feat(cli): ♻️ Begin new CLI rewrite with oclif
This commit is contained in:
parent
7b05a34cce
commit
06c30b8af2
21 changed files with 569 additions and 11 deletions
|
|
@ -144,6 +144,12 @@ export class User {
|
|||
)[0].count;
|
||||
}
|
||||
|
||||
async delete() {
|
||||
return (
|
||||
await db.delete(Users).where(eq(Users.id, this.id)).returning()
|
||||
)[0];
|
||||
}
|
||||
|
||||
async pin(note: Note) {
|
||||
return (
|
||||
await db
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue