Add a power history to each game server
Each change a read of a Fragnet account sees, and each power signal sent from here with who sent it, is written down (180 days). A server's details show the share of the last 30 days it was on, starts and stops, a seven-day bar and the latest changes, with who asked for them. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9126200295
commit
a2b43bcd5d
14 files changed
+9773
-4
No files matched your search
@@ -0,0 +1,13 @@
|
||||
CREATE TABLE `fragnet_power_log` (
|
||||
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
|
||||
`integration_id` integer NOT NULL,
|
||||
`server_id` text NOT NULL,
|
||||
`server_name` text NOT NULL,
|
||||
`at` text NOT NULL,
|
||||
`kind` text NOT NULL,
|
||||
`detail` text,
|
||||
`by` text,
|
||||
FOREIGN KEY (`integration_id`) REFERENCES `integrations`(`id`) ON UPDATE no action ON DELETE cascade
|
||||
);
|
||||
--> statement-breakpoint
|
||||
CREATE INDEX `fragnet_power_log_idx` ON `fragnet_power_log` (`integration_id`,`server_id`,`at`);
|
||||
File diff suppressed because it is too large.
Load diff
@@ -638,6 +638,13 @@
|
||||
"when": 1794333852784,
|
||||
"tag": "0090_watery_mathemanic",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 91,
|
||||
"version": "6",
|
||||
"when": 1794334785852,
|
||||
"tag": "0091_adorable_wasp",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user