Skip to content

Commit 18fc342

Browse files
Merge pull request #190 from max-programming/report-system
✨ Fully Functional Report System
2 parents 0e22760 + 96d34d9 commit 18fc342

32 files changed

+1362
-4372
lines changed

.xata/migrations/.ledger

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
mig_ckifep3vn469mi28pko0_f77d7c38
2+
mig_ckigpnbvn469mi28pt8g_df15c64a
3+
mig_ckigrcrvn469mi28pt9g_aa35d5b2
4+
mig_ckigrgpfnfidu9ddkpmg_4092bb4d
5+
mig_ckigtv3vn469mi28pteg_2f6a2f77
6+
mig_ckigu5vukcu8m9898t2g_e8236a00
7+
mig_ckihebkujsmuf8reoo90_68477443
8+
mig_ckihejc6f7ng5inpnc0g_89f03279
9+
mig_ckiher46f7ng5inpnc1g_3942320d
10+
mig_ckihf8cujsmuf8reooj0_8e780a6d
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"id": "mig_ckifep3vn469mi28pko0",
3+
"checksum": "1:f77d7c3821433d23ef3963fc44ebba51d8e2cc4879857ddd8cf0c354120d33cb",
4+
"operations": [
5+
{
6+
"addTable": {
7+
"table": "reports"
8+
}
9+
}
10+
]
11+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"id": "mig_ckigpnbvn469mi28pt8g",
3+
"parentID": "mig_ckifep3vn469mi28pko0",
4+
"checksum": "1:df15c64ab4c40b33b780ee15268a161013b52174efd5b38c2e50cb6bb5744c1c",
5+
"operations": [
6+
{
7+
"addColumn": {
8+
"column": {
9+
"name": "repoId",
10+
"type": "int",
11+
"unique": true
12+
},
13+
"table": "reports"
14+
}
15+
}
16+
]
17+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"id": "mig_ckigrcrvn469mi28pt9g",
3+
"parentID": "mig_ckigpnbvn469mi28pt8g",
4+
"checksum": "1:aa35d5b288a529d29cdb4360205e5c6e1e24b31728f475f9f53f390b255983ba",
5+
"operations": [
6+
{
7+
"addColumn": {
8+
"column": {
9+
"name": "repoAuthor",
10+
"type": "string"
11+
},
12+
"table": "reports"
13+
}
14+
}
15+
]
16+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"id": "mig_ckigrgpfnfidu9ddkpmg",
3+
"parentID": "mig_ckigrcrvn469mi28pt9g",
4+
"checksum": "1:4092bb4d1d69c3e74842fea3aa6e0d40d57a93710c3186532dba461b545c2db4",
5+
"operations": [
6+
{
7+
"addColumn": {
8+
"column": {
9+
"name": "message",
10+
"type": "text",
11+
"notNull": true,
12+
"defaultValue": "No Message"
13+
},
14+
"table": "reports"
15+
}
16+
}
17+
]
18+
}
Lines changed: 280 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,280 @@
1+
{
2+
"id": "mig_ckigtv3vn469mi28pteg",
3+
"parentID": "mig_ckigrgpfnfidu9ddkpmg",
4+
"checksum": "1:2f6a2f77daf31c62c9358749dac930b22ff4498003421ad6234fe1d33ebc09eb",
5+
"operations": [
6+
{
7+
"addTable": {
8+
"table": "nextauth_users"
9+
}
10+
},
11+
{
12+
"addTable": {
13+
"table": "nextauth_accounts"
14+
}
15+
},
16+
{
17+
"addTable": {
18+
"table": "nextauth_verificationTokens"
19+
}
20+
},
21+
{
22+
"addTable": {
23+
"table": "nextauth_users_accounts"
24+
}
25+
},
26+
{
27+
"addTable": {
28+
"table": "nextauth_users_sessions"
29+
}
30+
},
31+
{
32+
"addTable": {
33+
"table": "nextauth_sessions"
34+
}
35+
},
36+
{
37+
"addColumn": {
38+
"column": {
39+
"name": "email",
40+
"type": "email"
41+
},
42+
"table": "nextauth_users"
43+
}
44+
},
45+
{
46+
"addColumn": {
47+
"column": {
48+
"name": "emailVerified",
49+
"type": "datetime"
50+
},
51+
"table": "nextauth_users"
52+
}
53+
},
54+
{
55+
"addColumn": {
56+
"column": {
57+
"name": "name",
58+
"type": "string"
59+
},
60+
"table": "nextauth_users"
61+
}
62+
},
63+
{
64+
"addColumn": {
65+
"column": {
66+
"name": "image",
67+
"type": "string"
68+
},
69+
"table": "nextauth_users"
70+
}
71+
},
72+
{
73+
"addColumn": {
74+
"column": {
75+
"name": "user",
76+
"type": "link",
77+
"link": {
78+
"table": "nextauth_users"
79+
}
80+
},
81+
"table": "nextauth_accounts"
82+
}
83+
},
84+
{
85+
"addColumn": {
86+
"column": {
87+
"name": "type",
88+
"type": "string"
89+
},
90+
"table": "nextauth_accounts"
91+
}
92+
},
93+
{
94+
"addColumn": {
95+
"column": {
96+
"name": "provider",
97+
"type": "string"
98+
},
99+
"table": "nextauth_accounts"
100+
}
101+
},
102+
{
103+
"addColumn": {
104+
"column": {
105+
"name": "providerAccountId",
106+
"type": "string"
107+
},
108+
"table": "nextauth_accounts"
109+
}
110+
},
111+
{
112+
"addColumn": {
113+
"column": {
114+
"name": "refresh_token",
115+
"type": "string"
116+
},
117+
"table": "nextauth_accounts"
118+
}
119+
},
120+
{
121+
"addColumn": {
122+
"column": {
123+
"name": "access_token",
124+
"type": "string"
125+
},
126+
"table": "nextauth_accounts"
127+
}
128+
},
129+
{
130+
"addColumn": {
131+
"column": {
132+
"name": "expires_at",
133+
"type": "int"
134+
},
135+
"table": "nextauth_accounts"
136+
}
137+
},
138+
{
139+
"addColumn": {
140+
"column": {
141+
"name": "token_type",
142+
"type": "string"
143+
},
144+
"table": "nextauth_accounts"
145+
}
146+
},
147+
{
148+
"addColumn": {
149+
"column": {
150+
"name": "scope",
151+
"type": "string"
152+
},
153+
"table": "nextauth_accounts"
154+
}
155+
},
156+
{
157+
"addColumn": {
158+
"column": {
159+
"name": "id_token",
160+
"type": "text"
161+
},
162+
"table": "nextauth_accounts"
163+
}
164+
},
165+
{
166+
"addColumn": {
167+
"column": {
168+
"name": "session_state",
169+
"type": "string"
170+
},
171+
"table": "nextauth_accounts"
172+
}
173+
},
174+
{
175+
"addColumn": {
176+
"column": {
177+
"name": "identifier",
178+
"type": "string"
179+
},
180+
"table": "nextauth_verificationTokens"
181+
}
182+
},
183+
{
184+
"addColumn": {
185+
"column": {
186+
"name": "token",
187+
"type": "string"
188+
},
189+
"table": "nextauth_verificationTokens"
190+
}
191+
},
192+
{
193+
"addColumn": {
194+
"column": {
195+
"name": "expires",
196+
"type": "datetime"
197+
},
198+
"table": "nextauth_verificationTokens"
199+
}
200+
},
201+
{
202+
"addColumn": {
203+
"column": {
204+
"name": "user",
205+
"type": "link",
206+
"link": {
207+
"table": "nextauth_users"
208+
}
209+
},
210+
"table": "nextauth_users_accounts"
211+
}
212+
},
213+
{
214+
"addColumn": {
215+
"column": {
216+
"name": "account",
217+
"type": "link",
218+
"link": {
219+
"table": "nextauth_accounts"
220+
}
221+
},
222+
"table": "nextauth_users_accounts"
223+
}
224+
},
225+
{
226+
"addColumn": {
227+
"column": {
228+
"name": "user",
229+
"type": "link",
230+
"link": {
231+
"table": "nextauth_users"
232+
}
233+
},
234+
"table": "nextauth_users_sessions"
235+
}
236+
},
237+
{
238+
"addColumn": {
239+
"column": {
240+
"name": "session",
241+
"type": "link",
242+
"link": {
243+
"table": "nextauth_sessions"
244+
}
245+
},
246+
"table": "nextauth_users_sessions"
247+
}
248+
},
249+
{
250+
"addColumn": {
251+
"column": {
252+
"name": "sessionToken",
253+
"type": "string"
254+
},
255+
"table": "nextauth_sessions"
256+
}
257+
},
258+
{
259+
"addColumn": {
260+
"column": {
261+
"name": "expires",
262+
"type": "datetime"
263+
},
264+
"table": "nextauth_sessions"
265+
}
266+
},
267+
{
268+
"addColumn": {
269+
"column": {
270+
"name": "user",
271+
"type": "link",
272+
"link": {
273+
"table": "nextauth_users"
274+
}
275+
},
276+
"table": "nextauth_sessions"
277+
}
278+
}
279+
]
280+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"id": "mig_ckigu5vukcu8m9898t2g",
3+
"parentID": "mig_ckigtv3vn469mi28pteg",
4+
"checksum": "1:e8236a00734f3a7663026f86ee8cb27b6e437a1c954f0d85446b51e2e9d246d4",
5+
"operations": [
6+
{
7+
"addColumn": {
8+
"column": {
9+
"name": "user",
10+
"type": "link",
11+
"link": {
12+
"table": "nextauth_users"
13+
}
14+
},
15+
"table": "reports"
16+
}
17+
}
18+
]
19+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"id": "mig_ckihebkujsmuf8reoo90",
3+
"parentID": "mig_ckigu5vukcu8m9898t2g",
4+
"checksum": "1:68477443af8fd485fb2b256afa1ad9f4da782478fdb30eaf037cf298dc6e997e",
5+
"operations": [
6+
{
7+
"addTable": {
8+
"table": "invalid_repos"
9+
}
10+
}
11+
]
12+
}

0 commit comments

Comments
 (0)