mirror of
https://github.com/khairul169/github-leaderboard.git
synced 2026-09-17 09:53:21 +07:00
feat: add leaderboard category
This commit is contained in:
@@ -20,6 +20,11 @@ export const repositories = sqliteTable(
|
||||
languages: text("languages", { mode: "json" }).$type<Language[]>(),
|
||||
contributors: text("contributors", { mode: "json" }).$type<Contributor[]>(),
|
||||
|
||||
isPending: integer("is_pending", { mode: "boolean" })
|
||||
.notNull()
|
||||
.default(false),
|
||||
isError: integer("is_error", { mode: "boolean" }).notNull().default(false),
|
||||
|
||||
createdAt: text("created_at")
|
||||
.notNull()
|
||||
.default(sql`CURRENT_TIMESTAMP`),
|
||||
|
||||
Reference in New Issue
Block a user