mirror of
https://github.com/domfelipe/mika-agent-assist.git
synced 2026-08-07 07:36:41 +00:00
Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
parent
5c1c588aac
commit
676a424259
2 changed files with 13 additions and 0 deletions
|
|
@ -21,6 +21,8 @@ export type Database = {
|
||||||
created_at: string
|
created_at: string
|
||||||
id: string
|
id: string
|
||||||
last_health_check_at: string | null
|
last_health_check_at: string | null
|
||||||
|
managed_bot_pending: boolean
|
||||||
|
managed_bot_suggested_username: string | null
|
||||||
model_config: Json
|
model_config: Json
|
||||||
onboarding_completed: boolean
|
onboarding_completed: boolean
|
||||||
provisioned_at: string | null
|
provisioned_at: string | null
|
||||||
|
|
@ -48,6 +50,8 @@ export type Database = {
|
||||||
created_at?: string
|
created_at?: string
|
||||||
id?: string
|
id?: string
|
||||||
last_health_check_at?: string | null
|
last_health_check_at?: string | null
|
||||||
|
managed_bot_pending?: boolean
|
||||||
|
managed_bot_suggested_username?: string | null
|
||||||
model_config?: Json
|
model_config?: Json
|
||||||
onboarding_completed?: boolean
|
onboarding_completed?: boolean
|
||||||
provisioned_at?: string | null
|
provisioned_at?: string | null
|
||||||
|
|
@ -75,6 +79,8 @@ export type Database = {
|
||||||
created_at?: string
|
created_at?: string
|
||||||
id?: string
|
id?: string
|
||||||
last_health_check_at?: string | null
|
last_health_check_at?: string | null
|
||||||
|
managed_bot_pending?: boolean
|
||||||
|
managed_bot_suggested_username?: string | null
|
||||||
model_config?: Json
|
model_config?: Json
|
||||||
onboarding_completed?: boolean
|
onboarding_completed?: boolean
|
||||||
provisioned_at?: string | null
|
provisioned_at?: string | null
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
ALTER TABLE public.agent_instances
|
||||||
|
ADD COLUMN IF NOT EXISTS managed_bot_pending boolean NOT NULL DEFAULT false,
|
||||||
|
ADD COLUMN IF NOT EXISTS managed_bot_suggested_username text;
|
||||||
|
|
||||||
|
CREATE INDEX IF NOT EXISTS idx_agent_instances_managed_bot_pending
|
||||||
|
ON public.agent_instances (managed_bot_pending)
|
||||||
|
WHERE managed_bot_pending = true;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue