feat(backend): migrate freelancer and portal runtimes

This commit is contained in:
poyrazavsever
2026-07-17 00:16:38 +03:00
parent 561af11b70
commit 678c0236db
41 changed files with 5293 additions and 2324 deletions
@@ -0,0 +1,10 @@
CREATE TABLE `user_ai_settings` (
`owner_user_id` text PRIMARY KEY NOT NULL,
`provider` text DEFAULT 'gemini' NOT NULL,
`model` text,
`encrypted_api_key` text,
`created_at` text DEFAULT CURRENT_TIMESTAMP NOT NULL,
`updated_at` text DEFAULT CURRENT_TIMESTAMP NOT NULL,
FOREIGN KEY (`owner_user_id`) REFERENCES `user`(`id`) ON UPDATE no action ON DELETE cascade,
CONSTRAINT "user_ai_settings_provider_check" CHECK("user_ai_settings"."provider" in ('gemini', 'openai', 'groq', 'ollama'))
);
File diff suppressed because it is too large Load Diff
+7
View File
@@ -36,6 +36,13 @@
"when": 1784210311370,
"tag": "0004_fancy_baron_zemo",
"breakpoints": true
},
{
"idx": 5,
"version": "6",
"when": 1784234752708,
"tag": "0005_brief_black_bolt",
"breakpoints": true
}
]
}