|
339 | 339 | | hashedIP | TEXT | not null |
|
340 | 340 | | type | INTEGER | not null |
|
341 | 341 | | originalVoteType | INTEGER | not null | # Since type was reused to also specify the number of votes removed when less than 0, this is being used for the actual type
|
| 342 | +| id | SERIAL | primary key | |
342 | 343 |
|
343 | 344 | | index | field |
|
344 | 345 | | -- | :--: |
|
|
353 | 354 | | hashedIP | TEXT | not null |
|
354 | 355 | | category | TEXT | not null |
|
355 | 356 | | timeSubmitted | INTEGER | not null |
|
| 357 | +| id | SERIAL | primary key | |
356 | 358 |
|
357 | 359 | | index | field |
|
358 | 360 | | -- | :--: |
|
|
366 | 368 | | hashedIP | TEXT | not null |
|
367 | 369 | | timeSubmitted | INTEGER | not null |
|
368 | 370 | | service | TEXT | not null, default 'YouTube' |
|
| 371 | +| id | SERIAL | primary key | |
369 | 372 |
|
370 | 373 | | index | field |
|
371 | 374 | | -- | :--: |
|
|
375 | 378 |
|
376 | 379 | | Name | Type | |
|
377 | 380 | | -- | :--: | -- |
|
378 |
| -| key | TEXT | not null | |
| 381 | +| key | TEXT | not null, primary key | |
379 | 382 | | value | TEXT | not null |
|
380 | 383 |
|
381 | 384 | ### ratings
|
|
388 | 391 | | type | INTEGER | not null |
|
389 | 392 | | timeSubmitted | INTEGER | not null |
|
390 | 393 | | hashedIP | TEXT | not null |
|
| 394 | +| id | SERIAL | primary key | |
391 | 395 |
|
392 | 396 | | index | field |
|
393 | 397 | | -- | :--: |
|
|
400 | 404 | | targetUserID | TEXT | not null |
|
401 | 405 | | enabled | BOOLEAN | not null |
|
402 | 406 | | updatedAt | INTEGER | not null |
|
| 407 | +| id | SERIAL | primary key | |
403 | 408 |
|
404 | 409 | ### userNameLogs
|
405 | 410 |
|
|
409 | 414 | | newUserName | TEXT | not null |
|
410 | 415 | | oldUserName | TEXT | not null |
|
411 | 416 | | updatedByAdmin | BOOLEAN | not null |
|
412 |
| -| updatedAt | INTEGER | not null | |
| 417 | +| updatedAt | INTEGER | not null | |
| 418 | +| id | SERIAL | primary key | |
0 commit comments