Drop files here

SQL upload ( 0 ) x -

Page-related settings Click on the bar to scroll to top of page
Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count : Time taken :
Options
Set default





Collapse Expand Requery Edit Explain Profiling Query failed Database : Queried time :
Untitled *
v Show/Hide tables list View in fullscreen Add tables from other databases New page Open page Save page Save page as Delete pages Create table Create relationship Choose column to display Reload Help Angular links / Direct links Snap to grid v Small/Big All Toggle small/big Toggle relationship lines Export schema > Move Menu > Pin text
Number of tables: 0
v creador_agentes agentes
* id : int(11)
* colegio_id : int(11)
* nombre_publico : varchar(100)
* rol_descripcion : varchar(255)
* prompt_sistema : text
* modelo_ia : varchar(50)
* api_key : varchar(255)
* avatar_url : varchar(255)
* has_voice : tinyint(1)
* voice_type : varchar(50)
* fecha_creacion : timestamp
* reglas_ia : text
v creador_agentes alumnos
* id : int(11)
* colegio_id : int(11)
* codigo_alumno : varchar(50)
* nombre_alumno : varchar(150)
* cedula_padre : varchar(20)
* cedula_madre : varchar(20)
* saldo_mensual : decimal(10,2)
* calificaciones_json : longtext
v creador_agentes audit_logs
* id : int(11)
* usuario_id : int(11)
* accion : varchar(255)
* detalles_encriptados : text
* ip_address : varchar(45)
* fecha : timestamp
v creador_agentes bloqueos_ip
* id : int(11)
* ip_address : varchar(45)
* intentos_fallidos : int(11)
* fecha_ultimo_intento : timestamp
* fecha_desbloqueo : timestamp
v creador_agentes citas
* id : int(11)
* agente_id : int(11)
* cliente_info : varchar(255)
* fecha_hora : datetime
* motivo : text
* estado : enum('pendiente','confirmada','cancelada')
* fecha_creacion : timestamp
v creador_agentes cola_difusion
* id : int(11)
* numero_telefono : varchar(20)
* mensaje_personalizado : text
* estado : enum('pendiente','enviado','fallido')
* fecha_envio : timestamp
v creador_agentes colegios
* id : int(11)
* nombre : varchar(150)
* carpeta_base : varchar(100)
* widget_key : varchar(64)
* config_ia : longtext
* config_db : longtext
* fecha_registro : timestamp
* reglas_ia : text
* prompt_sistema : text
* mensaje_bienvenida : text
* botones_json : longtext
v creador_agentes conocimiento_agente
* id : int(11)
* agente_id : int(11)
* tipo : varchar(20)
* categoria : varchar(100)
* titulo : varchar(255)
* ruta_fisica : varchar(512)
* contenido : longtext
* embedding : longtext
* fecha_vencimiento : datetime
* estado : enum('activo','archivado','obsoleto')
* metadatos : longtext
* fecha_carga : timestamp
v creador_agentes cotizaciones
* id : int(11)
* agente_id : int(11)
* email_cliente : varchar(100)
* items : text
* total : decimal(10,2)
* fecha_envio : timestamp
v creador_agentes creador_contenido_historial
* id : int(11)
* nicho_id : int(11)
* tema : varchar(255)
* num_videos : int(11)
* contenido_json : longtext
* fecha_creacion : timestamp
v creador_agentes creador_contenido_nichos
* id : int(11)
* nombre : varchar(255)
* contexto : text
* fecha_creacion : timestamp
v creador_agentes mensajes
* id : int(11)
* usuario_id : int(11)
* session_id : varchar(255)
* ip_address : varchar(45)
* agente_id : int(11)
* rol : enum('user','assistant')
* contenido : text
* metadatos_respuesta : longtext
* fecha_envio : timestamp
v creador_agentes mkt_campanas
* id : int(11)
* cliente_id : int(11)
* nombre_campana : varchar(150)
* objetivo_prompt : text
* estado : enum('activa','terminada','pausada')
* fecha_creacion : timestamp
v creador_agentes mkt_clientes
* id : int(11)
* nombre_empresa : varchar(150)
* industria : varchar(100)
* url_website : varchar(255)
* logo_url : varchar(255)
* brand_voice_prompt : text
* fecha_registro : timestamp
* fb_access_token : text
* fb_page_id : varchar(100)
* ig_account_id : varchar(100)
* tiktok_access_token : text
* tiktok_open_id : varchar(255)
* youtube_access_token : text
* youtube_refresh_token : text
* youtube_channel_id : varchar(255)
* pref_motor_video : varchar(50)
* pref_motor_imagen : varchar(50)
* pref_estilo_subs : varchar(50)
v creador_agentes mkt_credenciales_api
* id : int(11)
* proveedor : varchar(50)
* api_key : text
* api_secret : text
* fecha_actualizacion : timestamp
v creador_agentes mkt_mensajes
* id : int(11)
* cliente_id : int(11)
* plataforma : enum('facebook','instagram','tiktok','youtube')
* id_externo_mensaje : varchar(100)
* remitente_nombre : varchar(150)
* remitente_id : varchar(100)
* contenido : text
* fecha_recibido : timestamp
* respondido : tinyint(1)
v creador_agentes mkt_publicaciones
* id : int(11)
* campana_id : int(11)
* plataforma : enum('facebook','instagram','tiktok','linkedin','youtube')
* copy_generado : text
* media_url : varchar(255)
* asset_url : varchar(255)
* estado : enum('borrador','aprobado','publicado','rechazado')
* fecha_programada : datetime
* fecha_creacion : timestamp
v creador_agentes partes_productos
* id : int(11)
* agente_id : int(11)
* nombre : varchar(255)
* marca : varchar(100)
* modelo : varchar(100)
* anio_inicio : int(11)
* anio_fin : int(11)
* stock : int(11)
* precio : decimal(10,2)
* url_imagen : varchar(255)
* descripcion : text
v creador_agentes proveedores_ia
* id : int(11)
* nombre : varchar(50)
* api_key : varchar(255)
* prioridad : int(11)
* estado : enum('activo','agotado')
v creador_agentes usuarios
* id : int(11)
* colegio_id : int(11)
* nombre : varchar(100)
* email : varchar(100)
* password : varchar(255)
* cedula : varchar(20)
* codigo_hijo : varchar(50)
* rol : enum('admin','padre','madre','invitado')
* estado : enum('activo','bloqueado')
* fecha_registro : timestamp
Create relationship
FOREIGN KEY
on delete
on update
Delete relationship