diff --git a/db/migrations/20260310094104_initial.sql b/db/migrations/20260310094104_initial.sql index da6607f..6c8afc4 100644 --- a/db/migrations/20260310094104_initial.sql +++ b/db/migrations/20260310094104_initial.sql @@ -144,7 +144,7 @@ CREATE TABLE sandboxes ( vcpus INTEGER NOT NULL DEFAULT 1, memory_mb INTEGER NOT NULL DEFAULT 512, timeout_sec INTEGER NOT NULL DEFAULT 300, - disk_size_mb INTEGER NOT NULL DEFAULT 20480, + disk_size_mb INTEGER NOT NULL DEFAULT 5120, guest_ip TEXT NOT NULL DEFAULT '', host_ip TEXT NOT NULL DEFAULT '', created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), diff --git a/frontend/src/lib/api/capsules.ts b/frontend/src/lib/api/capsules.ts index cc4ad79..565f14f 100644 --- a/frontend/src/lib/api/capsules.ts +++ b/frontend/src/lib/api/capsules.ts @@ -54,6 +54,7 @@ export type Snapshot = { memory_mb?: number; size_bytes: number; created_at: string; + platform: boolean; }; export async function createSnapshot(sandboxId: string, name?: string): Promise> { diff --git a/frontend/src/routes/dashboard/snapshots/+page.svelte b/frontend/src/routes/dashboard/snapshots/+page.svelte index 6f86d4c..2ae201a 100644 --- a/frontend/src/routes/dashboard/snapshots/+page.svelte +++ b/frontend/src/routes/dashboard/snapshots/+page.svelte @@ -423,6 +423,7 @@