feat: establish NekoNest Cloud control and relay

This commit is contained in:
2026-08-12 23:25:43 +08:00
commit f27606b709
222 changed files with 71456 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
CREATE TABLE `beta_feedback` (
`id` text PRIMARY KEY NOT NULL,
`account_id` text NOT NULL,
`category` text NOT NULL,
`message` text NOT NULL,
`status` text DEFAULT 'open' NOT NULL,
`admin_response` text,
`handled_by` text,
`created_at` text DEFAULT CURRENT_TIMESTAMP NOT NULL,
`updated_at` text DEFAULT CURRENT_TIMESTAMP NOT NULL,
`resolved_at` text,
FOREIGN KEY (`account_id`) REFERENCES `accounts`(`id`) ON UPDATE no action ON DELETE no action
);
--> statement-breakpoint
CREATE INDEX `idx_beta_feedback_account_time` ON `beta_feedback` (`account_id`,`created_at`);--> statement-breakpoint
CREATE INDEX `idx_beta_feedback_status_time` ON `beta_feedback` (`status`,`created_at`);