mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat: updateId uuidv7 column for all entities with updatedAt (#16353)
This commit is contained in:
parent
128d653fc6
commit
967c69317b
18 changed files with 222 additions and 4 deletions
13
server/src/db.d.ts
vendored
13
server/src/db.d.ts
vendored
|
|
@ -41,6 +41,7 @@ export interface Activity {
|
|||
id: Generated<string>;
|
||||
isLiked: Generated<boolean>;
|
||||
updatedAt: Generated<Timestamp>;
|
||||
updateId: Generated<string>;
|
||||
userId: string;
|
||||
}
|
||||
|
||||
|
|
@ -58,6 +59,7 @@ export interface Albums {
|
|||
order: Generated<string>;
|
||||
ownerId: string;
|
||||
updatedAt: Generated<Timestamp>;
|
||||
updateId: Generated<string>;
|
||||
}
|
||||
|
||||
export interface AlbumsAssetsAssets {
|
||||
|
|
@ -79,6 +81,7 @@ export interface ApiKeys {
|
|||
name: string;
|
||||
permissions: Permission[];
|
||||
updatedAt: Generated<Timestamp>;
|
||||
updateId: Generated<string>;
|
||||
userId: string;
|
||||
}
|
||||
|
||||
|
|
@ -103,6 +106,7 @@ export interface AssetFiles {
|
|||
path: string;
|
||||
type: string;
|
||||
updatedAt: Generated<Timestamp>;
|
||||
updateId: Generated<string>;
|
||||
}
|
||||
|
||||
export interface AssetJobStatus {
|
||||
|
|
@ -143,6 +147,7 @@ export interface Assets {
|
|||
thumbhash: Buffer | null;
|
||||
type: string;
|
||||
updatedAt: Generated<Timestamp>;
|
||||
updateId: Generated<string>;
|
||||
}
|
||||
|
||||
export interface AssetStack {
|
||||
|
|
@ -221,6 +226,7 @@ export interface Libraries {
|
|||
ownerId: string;
|
||||
refreshedAt: Timestamp | null;
|
||||
updatedAt: Generated<Timestamp>;
|
||||
updateId: Generated<string>;
|
||||
}
|
||||
|
||||
export interface Memories {
|
||||
|
|
@ -236,6 +242,7 @@ export interface Memories {
|
|||
showAt: Timestamp | null;
|
||||
type: string;
|
||||
updatedAt: Generated<Timestamp>;
|
||||
updateId: Generated<string>;
|
||||
}
|
||||
|
||||
export interface MemoriesAssetsAssets {
|
||||
|
|
@ -271,6 +278,7 @@ export interface Partners {
|
|||
sharedById: string;
|
||||
sharedWithId: string;
|
||||
updatedAt: Generated<Timestamp>;
|
||||
updateId: Generated<string>;
|
||||
}
|
||||
|
||||
export interface Person {
|
||||
|
|
@ -285,6 +293,7 @@ export interface Person {
|
|||
ownerId: string;
|
||||
thumbnailPath: Generated<string>;
|
||||
updatedAt: Generated<Timestamp>;
|
||||
updateId: Generated<string>;
|
||||
}
|
||||
|
||||
export interface Sessions {
|
||||
|
|
@ -294,6 +303,7 @@ export interface Sessions {
|
|||
id: Generated<string>;
|
||||
token: string;
|
||||
updatedAt: Generated<Timestamp>;
|
||||
updateId: Generated<string>;
|
||||
userId: string;
|
||||
}
|
||||
|
||||
|
|
@ -303,6 +313,7 @@ export interface SessionSyncCheckpoints {
|
|||
sessionId: string;
|
||||
type: SyncEntityType;
|
||||
updatedAt: Generated<Timestamp>;
|
||||
updateId: Generated<string>;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -358,6 +369,7 @@ export interface Tags {
|
|||
id: Generated<string>;
|
||||
parentId: string | null;
|
||||
updatedAt: Generated<Timestamp>;
|
||||
updateId: Generated<string>;
|
||||
userId: string;
|
||||
value: string;
|
||||
}
|
||||
|
|
@ -399,6 +411,7 @@ export interface Users {
|
|||
status: Generated<string>;
|
||||
storageLabel: string | null;
|
||||
updatedAt: Generated<Timestamp>;
|
||||
updateId: Generated<string>;
|
||||
}
|
||||
|
||||
export interface UsersAudit {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue