mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-02 19:55:18 +02:00
Migrate to UUIDs for id PK for adventures
This commit is contained in:
parent
f40714ac2c
commit
96eb73a224
23 changed files with 108 additions and 513 deletions
|
@ -10,7 +10,7 @@ export type User = {
|
|||
};
|
||||
|
||||
export type Adventure = {
|
||||
id: number;
|
||||
id: string;
|
||||
user_id: number;
|
||||
type: string;
|
||||
name: string;
|
||||
|
@ -58,7 +58,7 @@ export type Point = {
|
|||
};
|
||||
|
||||
export type Collection = {
|
||||
id: number;
|
||||
id: string;
|
||||
user_id: number;
|
||||
name: string;
|
||||
description: string;
|
||||
|
@ -91,7 +91,7 @@ export type OpenStreetMapPlace = {
|
|||
};
|
||||
|
||||
export type Transportation = {
|
||||
id: number;
|
||||
id: string;
|
||||
user_id: number;
|
||||
type: string;
|
||||
name: string;
|
||||
|
@ -109,7 +109,7 @@ export type Transportation = {
|
|||
};
|
||||
|
||||
export type Note = {
|
||||
id: number;
|
||||
id: string;
|
||||
user_id: number;
|
||||
name: string;
|
||||
content: string | null;
|
||||
|
@ -122,7 +122,7 @@ export type Note = {
|
|||
};
|
||||
|
||||
export type Checklist = {
|
||||
id: number;
|
||||
id: string;
|
||||
user_id: number;
|
||||
name: string;
|
||||
items: ChecklistItem[];
|
||||
|
@ -134,7 +134,7 @@ export type Checklist = {
|
|||
};
|
||||
|
||||
export type ChecklistItem = {
|
||||
id: number;
|
||||
id: string;
|
||||
user_id: number;
|
||||
name: string;
|
||||
is_checked: boolean;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue