mirror of
https://github.com/khairul169/github-leaderboard.git
synced 2026-09-17 09:53:21 +07:00
feat: add view leaderboard item
This commit is contained in:
+1
@@ -5,6 +5,7 @@ CREATE TABLE `repositories` (
|
||||
`uri` text NOT NULL,
|
||||
`language` text NOT NULL,
|
||||
`stars` integer NOT NULL,
|
||||
`forks` integer NOT NULL,
|
||||
`last_update` text NOT NULL,
|
||||
`languages` text,
|
||||
`contributors` text,
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": "6",
|
||||
"dialect": "sqlite",
|
||||
"id": "ccf7929b-8198-4452-ad60-e02285ac8149",
|
||||
"id": "891041fb-3c81-46b0-ac5a-cd85a640fe8c",
|
||||
"prevId": "00000000-0000-0000-0000-000000000000",
|
||||
"tables": {
|
||||
"repositories": {
|
||||
@@ -49,6 +49,13 @@
|
||||
"notNull": true,
|
||||
"autoincrement": false
|
||||
},
|
||||
"forks": {
|
||||
"name": "forks",
|
||||
"type": "integer",
|
||||
"primaryKey": false,
|
||||
"notNull": true,
|
||||
"autoincrement": false
|
||||
},
|
||||
"last_update": {
|
||||
"name": "last_update",
|
||||
"type": "text",
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
{
|
||||
"idx": 0,
|
||||
"version": "6",
|
||||
"when": 1723071912146,
|
||||
"tag": "0000_low_catseye",
|
||||
"when": 1723077872529,
|
||||
"tag": "0000_medical_magma",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
|
||||
@@ -15,7 +15,7 @@ export const repositories = sqliteTable(
|
||||
uri: text("uri").notNull(),
|
||||
language: text("language").notNull(),
|
||||
stars: integer("stars").notNull(),
|
||||
forks: integer("stars").notNull(),
|
||||
forks: integer("forks").notNull(),
|
||||
lastUpdate: text("last_update").notNull(),
|
||||
languages: text("languages", { mode: "json" }).$type<Language[]>(),
|
||||
contributors: text("contributors", { mode: "json" }).$type<Contributor[]>(),
|
||||
|
||||
Reference in New Issue
Block a user