1
This commit is contained in:
0
backend/migrations/001_add_ram_stats_and_smart.sql
Normal file → Executable file
0
backend/migrations/001_add_ram_stats_and_smart.sql
Normal file → Executable file
0
backend/migrations/002_add_network_results.sql
Normal file → Executable file
0
backend/migrations/002_add_network_results.sql
Normal file → Executable file
5
backend/migrations/003_add_cpu_scores.sql
Executable file
5
backend/migrations/003_add_cpu_scores.sql
Executable file
@@ -0,0 +1,5 @@
|
||||
-- Migration 003: Add CPU subscore columns to benchmarks table
|
||||
-- Date: 2025-12-15
|
||||
|
||||
ALTER TABLE benchmarks ADD COLUMN cpu_score_single FLOAT;
|
||||
ALTER TABLE benchmarks ADD COLUMN cpu_score_multi FLOAT;
|
||||
7
backend/migrations/004_add_snapshot_details.sql
Executable file
7
backend/migrations/004_add_snapshot_details.sql
Executable file
@@ -0,0 +1,7 @@
|
||||
-- Migration 004: Add extra hardware snapshot metadata columns
|
||||
-- Date: 2025-12-17
|
||||
|
||||
ALTER TABLE hardware_snapshots ADD COLUMN hostname VARCHAR(255);
|
||||
ALTER TABLE hardware_snapshots ADD COLUMN desktop_environment VARCHAR(100);
|
||||
ALTER TABLE hardware_snapshots ADD COLUMN pci_devices_json TEXT;
|
||||
ALTER TABLE hardware_snapshots ADD COLUMN usb_devices_json TEXT;
|
||||
11
backend/migrations/005_add_os_display_and_battery.sql
Executable file
11
backend/migrations/005_add_os_display_and_battery.sql
Executable file
@@ -0,0 +1,11 @@
|
||||
-- Migration 005: Extend hardware_snapshots with OS/display/battery metadata
|
||||
-- Date: 2025-12-17
|
||||
|
||||
ALTER TABLE hardware_snapshots ADD COLUMN screen_resolution VARCHAR(50);
|
||||
ALTER TABLE hardware_snapshots ADD COLUMN display_server VARCHAR(50);
|
||||
ALTER TABLE hardware_snapshots ADD COLUMN session_type VARCHAR(50);
|
||||
ALTER TABLE hardware_snapshots ADD COLUMN last_boot_time VARCHAR(50);
|
||||
ALTER TABLE hardware_snapshots ADD COLUMN uptime_seconds INTEGER;
|
||||
ALTER TABLE hardware_snapshots ADD COLUMN battery_percentage FLOAT;
|
||||
ALTER TABLE hardware_snapshots ADD COLUMN battery_status VARCHAR(50);
|
||||
ALTER TABLE hardware_snapshots ADD COLUMN battery_health VARCHAR(50);
|
||||
4
backend/migrations/006_add_purchase_fields.sql
Executable file
4
backend/migrations/006_add_purchase_fields.sql
Executable file
@@ -0,0 +1,4 @@
|
||||
-- Add purchase metadata columns to devices table
|
||||
ALTER TABLE devices ADD COLUMN purchase_store TEXT;
|
||||
ALTER TABLE devices ADD COLUMN purchase_date TEXT;
|
||||
ALTER TABLE devices ADD COLUMN purchase_price REAL;
|
||||
0
backend/migrations/add_bios_vendor.sql
Normal file → Executable file
0
backend/migrations/add_bios_vendor.sql
Normal file → Executable file
Reference in New Issue
Block a user