-- Data for Name: strapi_database_schema; Type: TABLE DATA; Schema: public; Owner: root
--

COPY public.strapi_database_schema (id, schema, "time", hash) FROM stdin;
1835	{"tables":[{"name":"strapi_core_store_settings","indexes":[],"foreignKeys":[],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"key","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"value","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"type","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"environment","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"tag","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false}]},{"name":"strapi_webhooks","indexes":[],"foreignKeys":[],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"name","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"url","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"headers","type":"jsonb","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"events","type":"jsonb","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"enabled","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false}]},{"name":"admin_permissions","indexes":[{"name":"admin_permissions_created_by_id_fk","columns":["created_by_id"]},{"name":"admin_permissions_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"admin_permissions_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"admin_permissions_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"action","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"subject","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"properties","type":"jsonb","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"conditions","type":"jsonb","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"admin_users","indexes":[{"name":"admin_users_created_by_id_fk","columns":["created_by_id"]},{"name":"admin_users_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"admin_users_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"admin_users_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"firstname","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"lastname","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"username","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"email","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"password","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"reset_password_token","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"registration_token","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"is_active","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"blocked","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"prefered_language","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"admin_roles","indexes":[{"name":"admin_roles_created_by_id_fk","columns":["created_by_id"]},{"name":"admin_roles_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"admin_roles_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"admin_roles_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"name","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"code","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"description","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"strapi_api_tokens","indexes":[{"name":"strapi_api_tokens_created_by_id_fk","columns":["created_by_id"]},{"name":"strapi_api_tokens_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"strapi_api_tokens_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"strapi_api_tokens_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"name","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"description","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"type","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"access_key","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"last_used_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"expires_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"lifespan","type":"bigInteger","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"strapi_api_token_permissions","indexes":[{"name":"strapi_api_token_permissions_created_by_id_fk","columns":["created_by_id"]},{"name":"strapi_api_token_permissions_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"strapi_api_token_permissions_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"strapi_api_token_permissions_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"action","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"strapi_transfer_tokens","indexes":[{"name":"strapi_transfer_tokens_created_by_id_fk","columns":["created_by_id"]},{"name":"strapi_transfer_tokens_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"strapi_transfer_tokens_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"strapi_transfer_tokens_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"name","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"description","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"access_key","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"last_used_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"expires_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"lifespan","type":"bigInteger","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"strapi_transfer_token_permissions","indexes":[{"name":"strapi_transfer_token_permissions_created_by_id_fk","columns":["created_by_id"]},{"name":"strapi_transfer_token_permissions_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"strapi_transfer_token_permissions_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"strapi_transfer_token_permissions_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"action","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"files","indexes":[{"name":"upload_files_folder_path_index","columns":["folder_path"],"type":null},{"name":"upload_files_created_at_index","columns":["created_at"],"type":null},{"name":"upload_files_updated_at_index","columns":["updated_at"],"type":null},{"name":"upload_files_name_index","columns":["name"],"type":null},{"name":"upload_files_size_index","columns":["size"],"type":null},{"name":"upload_files_ext_index","columns":["ext"],"type":null},{"name":"files_created_by_id_fk","columns":["created_by_id"]},{"name":"files_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"files_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"files_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"name","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"alternative_text","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"caption","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"width","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"height","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"formats","type":"jsonb","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"hash","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"ext","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"mime","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"size","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"url","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"preview_url","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"provider","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"provider_metadata","type":"jsonb","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"folder_path","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"upload_folders","indexes":[{"name":"upload_folders_path_id_index","columns":["path_id"],"type":"unique"},{"name":"upload_folders_path_index","columns":["path"],"type":"unique"},{"name":"upload_folders_created_by_id_fk","columns":["created_by_id"]},{"name":"upload_folders_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"upload_folders_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"upload_folders_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"name","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"path_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"path","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"i18n_locale","indexes":[{"name":"i18n_locale_created_by_id_fk","columns":["created_by_id"]},{"name":"i18n_locale_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"i18n_locale_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"i18n_locale_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"name","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"code","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"up_permissions","indexes":[{"name":"up_permissions_created_by_id_fk","columns":["created_by_id"]},{"name":"up_permissions_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"up_permissions_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"up_permissions_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"action","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"up_roles","indexes":[{"name":"up_roles_created_by_id_fk","columns":["created_by_id"]},{"name":"up_roles_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"up_roles_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"up_roles_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"name","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"description","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"type","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"up_users","indexes":[{"name":"up_users_created_by_id_fk","columns":["created_by_id"]},{"name":"up_users_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"up_users_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"up_users_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"username","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"email","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"provider","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"password","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"reset_password_token","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"confirmation_token","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"confirmed","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"blocked","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"role_external","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"first_names","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"last_names","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"phone","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"agentes","indexes":[{"name":"agentes_created_by_id_fk","columns":["created_by_id"]},{"name":"agentes_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"agentes_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"agentes_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"analisis_de_necesidades","indexes":[{"name":"analisis_de_necesidades_created_by_id_fk","columns":["created_by_id"]},{"name":"analisis_de_necesidades_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"analisis_de_necesidades_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"analisis_de_necesidades_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_academicos_agentes","indexes":[{"name":"datos_academicos_agentes_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_academicos_agentes_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_academicos_agentes_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_academicos_agentes_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"escuela_secundaria","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"fecha_escuela_secundaria","type":"date","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"anios_en_secundaria","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"bachillerato","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"universidad","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"fecha_universidad","type":"date","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"anios_en_universidad","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"carrera","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"postgrado","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"fecha_postgrado","type":"date","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"anios_en_postgrado","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"especialidad","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"cusros_y_seminarios","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_adicionales","indexes":[{"name":"datos_adicionales_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_adicionales_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_adicionales_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_adicionales_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"detalles_sobre_antecedentes_de_salud","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"detalles_sobre_enfermedades","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"detalles_sobre_tratamientos","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"detalles_sobre_antecedentes_familiares_de_salud","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"hobbies","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_bancarios","indexes":[{"name":"datos_bancarios_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_bancarios_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_bancarios_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_bancarios_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"nombre_de_banco","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"no_de_cuenta_bancaria","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"tipo_de_cuenta","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"forma_de_pago","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_compromiso_primas","indexes":[{"name":"datos_compromiso_primas_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_compromiso_primas_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_compromiso_primas_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_compromiso_primas_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"ingreso_mensual_actual","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"ingreso_anual_actual","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"diez_porciento","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"siete_porciento","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"monto_comodo","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"monto_anual_a_invertir","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"compromiso_prima_mensual","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"compromiso_prima_semestral","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"compromiso_prima_anual","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_cuestionario_agentes","indexes":[{"name":"datos_cuestionario_agentes_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_cuestionario_agentes_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_cuestionario_agentes_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_cuestionario_agentes_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"horas_disponibles_para_trabajar","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"estrategia_para_crecimiento_economico","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"cuatro_variables_de_su_modelo_de_negocios","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"facilidad_para_relacionarse_con_personas","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"proyeccion_como_vendedor_o_asesor","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"es_perseverante","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"es_diciplinado","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"relacion_con_excompanieros_de_trabajo","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"logros_y_reconocimientos_de_ultimo_trabajo","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"tres_formas_de_como_resolver_una_situacion_delicada","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"casado","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"detalles_hijos","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"puede_sufragar_dos_meses_de_gastos","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"toma_medicamentos","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_entorno_angetes","indexes":[{"name":"datos_entorno_angetes_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_entorno_angetes_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_entorno_angetes_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_entorno_angetes_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"nombre_y_apellido","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"edad","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"estado_civil","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"ingreso_aproximado","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"ocupacion","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"telefono","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_familiares","indexes":[{"name":"datos_familiares_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_familiares_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_familiares_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_familiares_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"nombre_completo_de_conyugue_o_pareja","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"edad_de_conyugue_o_pareja","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"trabajo_de_conyugue_o_pareja","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"anios_de_laborar","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"hijos_cantidad","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"nombre_de_hijos","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"edades_de_hijos","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"dependientes_de_la_persona","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_femeninos","indexes":[{"name":"datos_femeninos_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_femeninos_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_femeninos_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_femeninos_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"nombre_de_ginecologo","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"direccion_de_clinica","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"ultima_consulta","type":"date","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"detalles_de_la_consulta","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_financieros","indexes":[{"name":"datos_financieros_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_financieros_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_financieros_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_financieros_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"monto_hipoteca","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"monto_letra_de_automovil","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"posee_tarjeta_de_credito","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"paga_impuestos_sobre_la_renta","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_ingresos_gastos","indexes":[{"name":"datos_ingresos_gastos_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_ingresos_gastos_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_ingresos_gastos_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_ingresos_gastos_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"servicios_fijos","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"educacion_de_hijos","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"alimentacion","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"gastos_medicos","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"turismo_y_recreacion","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"vestuario","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"tarjetas_de_credito","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"otros_creditos","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"ahorro","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"otros","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"total_gastos","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"disponibilidad_de_gastos","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"ingreso_mensual","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"ingreso_anual","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"ingreso_en_10_anios","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"seguros_de_vida_vigentes","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"capital_necesario_para_mantener_estilo_de_vida","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_jubilacion","indexes":[{"name":"datos_jubilacion_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_jubilacion_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_jubilacion_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_jubilacion_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"monto_mensual_deseado","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"jubilacion_estimada","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"deficit_monto_mensual_deseado","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"deficit_monto_anual_deseado","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"fondo_en_otra_institucion","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"capital_necesario","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_laborales","indexes":[{"name":"datos_laborales_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_laborales_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_laborales_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_laborales_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"nombre_de_empresa_donde_labora","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"direccion_de_empresa","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"antiguedad_de_anios_en_la_empresa","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"ocupacion","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"detalles_de_su_funcion_empresarial","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"ingreso_mensual","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"patrimonio_neto","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_laborales_agentes","indexes":[{"name":"datos_laborales_agentes_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_laborales_agentes_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_laborales_agentes_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_laborales_agentes_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"nombre_de_empresa_donde_laburo","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"cargo_que_tenia","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"telefono_de_trabajo_anterior","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"direccion_de_trabajo_anterior","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"jefe_inmediato","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"funcion_que_desempenio","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"inicio_de_labores","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"fecha_de_salida","type":"date","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"salario_al_inicio","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"salario_al_inicio_monto","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"ultimo_salario","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"ultimo_salario_monto","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"motivo_por_el_que_dejo_la_empresa","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_opiniones_laborales_agentes","indexes":[{"name":"datos_opiniones_laborales_agentes_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_opiniones_laborales_agentes_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_opiniones_laborales_agentes_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_opiniones_laborales_agentes_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"que_es_lo_que_mas_le_ha_gustado_de_sus_trabajos","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"que_es_lo_que_menos_le_ha_gustado_de_sus_trabajos","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"alguna_vez_ha_pensado_en_independizarse","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"alguna_vez_ha_sido_independiente","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_otros_seguros","indexes":[{"name":"datos_otros_seguros_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_otros_seguros_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_otros_seguros_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_otros_seguros_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"nombre_compania_de_poliza_existente","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"suma_de_poliza_existente","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"planes_de_viaje_proximamente","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"detalles_sobre_viaje_hace_15_dias","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"desde_que_anio_tiene_poliza","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"casos_legales","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"rechazo_de_poliza_previa","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_parientes","indexes":[{"name":"datos_parientes_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_parientes_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_parientes_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_parientes_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"edad_de_madre","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"anio_de_difuncion_madre","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"edad_de_padre","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"anio_de_difuncion_padre","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"cantidad_de_hermanos","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"detalles_sobre_la_salud_de_hermanos","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"causa_de_muerte_madre","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"causa_de_muerte_padre","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_personales","indexes":[{"name":"datos_personales_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_personales_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_personales_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_personales_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"direccion_residencial","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"consume_tabaco","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"telefono_residencial","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"telefono_celular","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"estado_civil","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"correo","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"nombres","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"apellidos","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"parentesco","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"porcentaje","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"estatura","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"peso","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"genero","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"tipo_de_identificacion","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"identificacion","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"fecha_de_nacimiento","type":"date","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"detalles_sobre_casos_legales","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_personales_agentes","indexes":[{"name":"datos_personales_agentes_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_personales_agentes_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_personales_agentes_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_personales_agentes_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"nombres","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"apellidos","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"fecha_de_nacimiento","type":"date","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"estado_civil","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"direccion_residencial","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"tiempo_de_residir","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"telefono","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"celular","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"trabaja_actualmente","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"se_le_puede_llamar_al_trabajo","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"correo","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"numero_de_dependientes","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"tiene_auto","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"marca","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"anio_de_auto","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"tiene_seguro_de_vida","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"que_otro_tipo_de_seguro_tiene","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"idiomas_que_habla","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"ha_tenido_experiencia_en_ventas","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"que_vendia","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"forma_parte_de_algun_club_o_asociacion","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"asociacion_o_club","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"actividad_en_club_o_asociacion","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"maneja_computadoras","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"cuenta_con_tiempo_para_ser_entrenado","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"presupuesto_familiar","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"cuanto_aspira_ganar","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"tiene_otra_fuente_de_ingreso","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"fuente_de_ingreso_alternativa","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"cuenta_con_computadora","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"maneja_tecnologia_virtual","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"ha_completado_el_esquema_de_vacuna","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"tiempo_de_experiencia_en_ventas","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_referencias_comerciales_agentes","indexes":[{"name":"datos_referencias_comerciales_agentes_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_referencias_comerciales_agentes_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_referencias_comerciales_agentes_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_referencias_comerciales_agentes_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"nombre","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"correo","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"contacto","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_referidos_cercanos","indexes":[{"name":"datos_referidos_cercanos_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_referidos_cercanos_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_referidos_cercanos_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_referidos_cercanos_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"familiar_nombre_completo","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"familiar_telefono","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"companiero_profecional_nombre_completo","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"companiero_profecional_telefono","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"persona_cercana_nombre_completo","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"persona_cercana_telefono","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_terceros","indexes":[{"name":"datos_terceros_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_terceros_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_terceros_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_terceros_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"persona_cercana_1","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"persona_cercana_2","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"persona_cercana_3","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_total_gastos","indexes":[{"name":"datos_total_gastos_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_total_gastos_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_total_gastos_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_total_gastos_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"ingreso_familiar_y_estilo_de_vida","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"educacion_de_hijos","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"ahorro_y_jubilacion","type":"decimal","args":[10,2],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_universitarios_hijos","indexes":[{"name":"datos_universitarios_hijos_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_universitarios_hijos_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_universitarios_hijos_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_universitarios_hijos_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"importancia_de_la_educacion_universitaria_de_hijos","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"detalles_de_recursos_para_la_universidad_de_hijos","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"carreras_x_hijos","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"costo_de_carreras_x_hijo","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_saluds","indexes":[{"name":"datos_saluds_created_by_id_fk","columns":["created_by_id"]},{"name":"datos_saluds_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"datos_saluds_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"datos_saluds_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"consulta_previa_al_cardiologo","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"fecha_de_ultima_consulta_al_cardiologo","type":"date","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"nombre_de_medico_de_cabecera","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"telefono_de_medico_de_cabecera","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"detalles_sobre_cicatrices","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"detalles_sobre_condiciones_de_salud","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"detalles_sobre_operaciones","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"detalles_sobre_medicamentos","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"se_contagio_de_covid","type":"boolean","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"fecha_de_contagio_de_covid","type":"date","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"sitomas_del_covid","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"fechas_de_vacunas","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"tipo_de_vacuna","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"detalles_de_vacunas_covid","type":"text","args":["longtext"],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"estadisticas_referidos","indexes":[{"name":"estadisticas_referidos_created_by_id_fk","columns":["created_by_id"]},{"name":"estadisticas_referidos_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"estadisticas_referidos_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"estadisticas_referidos_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"ingresos_count","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"solicitudes_count","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"rechazos_count","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"adn_count","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"asegurados_count","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"fecha_de_registro","type":"date","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"links_refereridos","indexes":[{"name":"links_refereridos_created_by_id_fk","columns":["created_by_id"]},{"name":"links_refereridos_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"links_refereridos_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"links_refereridos_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"custom_url","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"personas","indexes":[{"name":"personas_created_by_id_fk","columns":["created_by_id"]},{"name":"personas_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"personas_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"personas_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"solicitudes","indexes":[{"name":"solicitudes_created_by_id_fk","columns":["created_by_id"]},{"name":"solicitudes_updated_by_id_fk","columns":["updated_by_id"]}],"foreignKeys":[{"name":"solicitudes_created_by_id_fk","columns":["created_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"},{"name":"solicitudes_updated_by_id_fk","columns":["updated_by_id"],"referencedTable":"admin_users","referencedColumns":["id"],"onDelete":"SET NULL"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"created_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"updated_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"published_at","type":"datetime","args":[{"useTz":false,"precision":6}],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"created_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"updated_by_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"admin_permissions_role_links","indexes":[{"name":"admin_permissions_role_links_fk","columns":["permission_id"]},{"name":"admin_permissions_role_links_inv_fk","columns":["role_id"]},{"name":"admin_permissions_role_links_unique","columns":["permission_id","role_id"],"type":"unique"},{"name":"admin_permissions_role_links_order_inv_fk","columns":["permission_order"]}],"foreignKeys":[{"name":"admin_permissions_role_links_fk","columns":["permission_id"],"referencedColumns":["id"],"referencedTable":"admin_permissions","onDelete":"CASCADE"},{"name":"admin_permissions_role_links_inv_fk","columns":["role_id"],"referencedColumns":["id"],"referencedTable":"admin_roles","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"permission_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"role_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"permission_order","type":"double","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"admin_users_roles_links","indexes":[{"name":"admin_users_roles_links_fk","columns":["user_id"]},{"name":"admin_users_roles_links_inv_fk","columns":["role_id"]},{"name":"admin_users_roles_links_unique","columns":["user_id","role_id"],"type":"unique"},{"name":"admin_users_roles_links_order_fk","columns":["role_order"]},{"name":"admin_users_roles_links_order_inv_fk","columns":["user_order"]}],"foreignKeys":[{"name":"admin_users_roles_links_fk","columns":["user_id"],"referencedColumns":["id"],"referencedTable":"admin_users","onDelete":"CASCADE"},{"name":"admin_users_roles_links_inv_fk","columns":["role_id"],"referencedColumns":["id"],"referencedTable":"admin_roles","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"user_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"role_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"role_order","type":"double","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"user_order","type":"double","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"strapi_api_token_permissions_token_links","indexes":[{"name":"strapi_api_token_permissions_token_links_fk","columns":["api_token_permission_id"]},{"name":"strapi_api_token_permissions_token_links_inv_fk","columns":["api_token_id"]},{"name":"strapi_api_token_permissions_token_links_unique","columns":["api_token_permission_id","api_token_id"],"type":"unique"},{"name":"strapi_api_token_permissions_token_links_order_inv_fk","columns":["api_token_permission_order"]}],"foreignKeys":[{"name":"strapi_api_token_permissions_token_links_fk","columns":["api_token_permission_id"],"referencedColumns":["id"],"referencedTable":"strapi_api_token_permissions","onDelete":"CASCADE"},{"name":"strapi_api_token_permissions_token_links_inv_fk","columns":["api_token_id"],"referencedColumns":["id"],"referencedTable":"strapi_api_tokens","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"api_token_permission_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"api_token_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"api_token_permission_order","type":"double","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"strapi_transfer_token_permissions_token_links","indexes":[{"name":"strapi_transfer_token_permissions_token_links_fk","columns":["transfer_token_permission_id"]},{"name":"strapi_transfer_token_permissions_token_links_inv_fk","columns":["transfer_token_id"]},{"name":"strapi_transfer_token_permissions_token_links_unique","columns":["transfer_token_permission_id","transfer_token_id"],"type":"unique"},{"name":"strapi_transfer_token_permissions_token_links_order_inv_fk","columns":["transfer_token_permission_order"]}],"foreignKeys":[{"name":"strapi_transfer_token_permissions_token_links_fk","columns":["transfer_token_permission_id"],"referencedColumns":["id"],"referencedTable":"strapi_transfer_token_permissions","onDelete":"CASCADE"},{"name":"strapi_transfer_token_permissions_token_links_inv_fk","columns":["transfer_token_id"],"referencedColumns":["id"],"referencedTable":"strapi_transfer_tokens","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"transfer_token_permission_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"transfer_token_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"transfer_token_permission_order","type":"double","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"files_related_morphs","indexes":[{"name":"files_related_morphs_fk","columns":["file_id"]},{"name":"files_related_morphs_order_index","columns":["order"],"type":null},{"name":"files_related_morphs_id_column_index","columns":["related_id"],"type":null}],"foreignKeys":[{"name":"files_related_morphs_fk","columns":["file_id"],"referencedColumns":["id"],"referencedTable":"files","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"file_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"related_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"related_type","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"field","type":"string","args":[],"defaultTo":null,"notNullable":false,"unsigned":false},{"name":"order","type":"double","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"files_folder_links","indexes":[{"name":"files_folder_links_fk","columns":["file_id"]},{"name":"files_folder_links_inv_fk","columns":["folder_id"]},{"name":"files_folder_links_unique","columns":["file_id","folder_id"],"type":"unique"},{"name":"files_folder_links_order_inv_fk","columns":["file_order"]}],"foreignKeys":[{"name":"files_folder_links_fk","columns":["file_id"],"referencedColumns":["id"],"referencedTable":"files","onDelete":"CASCADE"},{"name":"files_folder_links_inv_fk","columns":["folder_id"],"referencedColumns":["id"],"referencedTable":"upload_folders","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"file_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"folder_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"file_order","type":"double","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"upload_folders_parent_links","indexes":[{"name":"upload_folders_parent_links_fk","columns":["folder_id"]},{"name":"upload_folders_parent_links_inv_fk","columns":["inv_folder_id"]},{"name":"upload_folders_parent_links_unique","columns":["folder_id","inv_folder_id"],"type":"unique"},{"name":"upload_folders_parent_links_order_inv_fk","columns":["folder_order"]}],"foreignKeys":[{"name":"upload_folders_parent_links_fk","columns":["folder_id"],"referencedColumns":["id"],"referencedTable":"upload_folders","onDelete":"CASCADE"},{"name":"upload_folders_parent_links_inv_fk","columns":["inv_folder_id"],"referencedColumns":["id"],"referencedTable":"upload_folders","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"folder_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"inv_folder_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"folder_order","type":"double","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"up_permissions_role_links","indexes":[{"name":"up_permissions_role_links_fk","columns":["permission_id"]},{"name":"up_permissions_role_links_inv_fk","columns":["role_id"]},{"name":"up_permissions_role_links_unique","columns":["permission_id","role_id"],"type":"unique"},{"name":"up_permissions_role_links_order_inv_fk","columns":["permission_order"]}],"foreignKeys":[{"name":"up_permissions_role_links_fk","columns":["permission_id"],"referencedColumns":["id"],"referencedTable":"up_permissions","onDelete":"CASCADE"},{"name":"up_permissions_role_links_inv_fk","columns":["role_id"],"referencedColumns":["id"],"referencedTable":"up_roles","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"permission_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"role_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"permission_order","type":"double","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"up_users_role_links","indexes":[{"name":"up_users_role_links_fk","columns":["user_id"]},{"name":"up_users_role_links_inv_fk","columns":["role_id"]},{"name":"up_users_role_links_unique","columns":["user_id","role_id"],"type":"unique"},{"name":"up_users_role_links_order_inv_fk","columns":["user_order"]}],"foreignKeys":[{"name":"up_users_role_links_fk","columns":["user_id"],"referencedColumns":["id"],"referencedTable":"up_users","onDelete":"CASCADE"},{"name":"up_users_role_links_inv_fk","columns":["role_id"],"referencedColumns":["id"],"referencedTable":"up_roles","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"user_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"role_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"user_order","type":"double","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"agentes_link_refererido_links","indexes":[{"name":"agentes_link_refererido_links_fk","columns":["agente_id"]},{"name":"agentes_link_refererido_links_inv_fk","columns":["link_refererido_id"]},{"name":"agentes_link_refererido_links_unique","columns":["agente_id","link_refererido_id"],"type":"unique"}],"foreignKeys":[{"name":"agentes_link_refererido_links_fk","columns":["agente_id"],"referencedColumns":["id"],"referencedTable":"agentes","onDelete":"CASCADE"},{"name":"agentes_link_refererido_links_inv_fk","columns":["link_refererido_id"],"referencedColumns":["id"],"referencedTable":"links_refereridos","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"agente_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"link_refererido_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"analisis_de_necesidades_datos_personales_links","indexes":[{"name":"analisis_de_necesidades_datos_personales_links_fk","columns":["analisis_de_necesidad_id"]},{"name":"analisis_de_necesidades_datos_personales_links_inv_fk","columns":["dato_personal_id"]},{"name":"analisis_de_necesidades_datos_personales_links_unique","columns":["analisis_de_necesidad_id","dato_personal_id"],"type":"unique"}],"foreignKeys":[{"name":"analisis_de_necesidades_datos_personales_links_fk","columns":["analisis_de_necesidad_id"],"referencedColumns":["id"],"referencedTable":"analisis_de_necesidades","onDelete":"CASCADE"},{"name":"analisis_de_necesidades_datos_personales_links_inv_fk","columns":["dato_personal_id"],"referencedColumns":["id"],"referencedTable":"datos_personales","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"analisis_de_necesidad_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_personal_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"analisis_de_necesidades_datos_financieros_links","indexes":[{"name":"analisis_de_necesidades_datos_financieros_links_fk","columns":["analisis_de_necesidad_id"]},{"name":"analisis_de_necesidades_datos_financieros_links_inv_fk","columns":["dato_financiero_id"]},{"name":"analisis_de_necesidades_datos_financieros_links_unique","columns":["analisis_de_necesidad_id","dato_financiero_id"],"type":"unique"}],"foreignKeys":[{"name":"analisis_de_necesidades_datos_financieros_links_fk","columns":["analisis_de_necesidad_id"],"referencedColumns":["id"],"referencedTable":"analisis_de_necesidades","onDelete":"CASCADE"},{"name":"analisis_de_necesidades_datos_financieros_links_inv_fk","columns":["dato_financiero_id"],"referencedColumns":["id"],"referencedTable":"datos_financieros","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"analisis_de_necesidad_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_financiero_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"analisis_de_necesidades_datos_familiares_links","indexes":[{"name":"analisis_de_necesidades_datos_familiares_links_fk","columns":["analisis_de_necesidad_id"]},{"name":"analisis_de_necesidades_datos_familiares_links_inv_fk","columns":["dato_familiar_id"]},{"name":"analisis_de_necesidades_datos_familiares_links_unique","columns":["analisis_de_necesidad_id","dato_familiar_id"],"type":"unique"}],"foreignKeys":[{"name":"analisis_de_necesidades_datos_familiares_links_fk","columns":["analisis_de_necesidad_id"],"referencedColumns":["id"],"referencedTable":"analisis_de_necesidades","onDelete":"CASCADE"},{"name":"analisis_de_necesidades_datos_familiares_links_inv_fk","columns":["dato_familiar_id"],"referencedColumns":["id"],"referencedTable":"datos_familiares","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"analisis_de_necesidad_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_familiar_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"analisis_de_necesidades_datos_adicionales_links","indexes":[{"name":"analisis_de_necesidades_datos_adicionales_links_fk","columns":["analisis_de_necesidad_id"]},{"name":"analisis_de_necesidades_datos_adicionales_links_inv_fk","columns":["dato_adicional_id"]},{"name":"analisis_de_necesidades_datos_adicionales_links_unique","columns":["analisis_de_necesidad_id","dato_adicional_id"],"type":"unique"}],"foreignKeys":[{"name":"analisis_de_necesidades_datos_adicionales_links_fk","columns":["analisis_de_necesidad_id"],"referencedColumns":["id"],"referencedTable":"analisis_de_necesidades","onDelete":"CASCADE"},{"name":"analisis_de_necesidades_datos_adicionales_links_inv_fk","columns":["dato_adicional_id"],"referencedColumns":["id"],"referencedTable":"datos_adicionales","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"analisis_de_necesidad_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_adicional_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"analisis_de_necesidades_datos_ingresos_gastos_links","indexes":[{"name":"analisis_de_necesidades_datos_ingresos_gastos_links_fk","columns":["analisis_de_necesidad_id"]},{"name":"analisis_de_necesidades_datos_ingresos_gastos_links_inv_fk","columns":["dato_ingresos_gastos_id"]},{"name":"analisis_de_necesidades_datos_ingresos_gastos_links_unique","columns":["analisis_de_necesidad_id","dato_ingresos_gastos_id"],"type":"unique"}],"foreignKeys":[{"name":"analisis_de_necesidades_datos_ingresos_gastos_links_fk","columns":["analisis_de_necesidad_id"],"referencedColumns":["id"],"referencedTable":"analisis_de_necesidades","onDelete":"CASCADE"},{"name":"analisis_de_necesidades_datos_ingresos_gastos_links_inv_fk","columns":["dato_ingresos_gastos_id"],"referencedColumns":["id"],"referencedTable":"datos_ingresos_gastos","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"analisis_de_necesidad_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_ingresos_gastos_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"analisis_de_necesidades_datos_universitarios_hijos_links","indexes":[{"name":"analisis_de_necesidades_datos_universitarios_hijos_links_fk","columns":["analisis_de_necesidad_id"]},{"name":"analisis_de_necesidades_datos_universitarios_hijos_links_inv_fk","columns":["dato_universitario_hijos_id"]},{"name":"analisis_de_necesidades_datos_universitarios_hijos_links_unique","columns":["analisis_de_necesidad_id","dato_universitario_hijos_id"],"type":"unique"}],"foreignKeys":[{"name":"analisis_de_necesidades_datos_universitarios_hijos_links_fk","columns":["analisis_de_necesidad_id"],"referencedColumns":["id"],"referencedTable":"analisis_de_necesidades","onDelete":"CASCADE"},{"name":"analisis_de_necesidades_datos_universitarios_hijos_links_inv_fk","columns":["dato_universitario_hijos_id"],"referencedColumns":["id"],"referencedTable":"datos_universitarios_hijos","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"analisis_de_necesidad_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_universitario_hijos_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"analisis_de_necesidades_datos_jubilacion_links","indexes":[{"name":"analisis_de_necesidades_datos_jubilacion_links_fk","columns":["analisis_de_necesidad_id"]},{"name":"analisis_de_necesidades_datos_jubilacion_links_inv_fk","columns":["dato_jubilacion_id"]},{"name":"analisis_de_necesidades_datos_jubilacion_links_unique","columns":["analisis_de_necesidad_id","dato_jubilacion_id"],"type":"unique"}],"foreignKeys":[{"name":"analisis_de_necesidades_datos_jubilacion_links_fk","columns":["analisis_de_necesidad_id"],"referencedColumns":["id"],"referencedTable":"analisis_de_necesidades","onDelete":"CASCADE"},{"name":"analisis_de_necesidades_datos_jubilacion_links_inv_fk","columns":["dato_jubilacion_id"],"referencedColumns":["id"],"referencedTable":"datos_jubilacion","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"analisis_de_necesidad_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_jubilacion_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"analisis_de_necesidades_datos_total_gastos_links","indexes":[{"name":"analisis_de_necesidades_datos_total_gastos_links_fk","columns":["analisis_de_necesidad_id"]},{"name":"analisis_de_necesidades_datos_total_gastos_links_inv_fk","columns":["dato_total_gastos_id"]},{"name":"analisis_de_necesidades_datos_total_gastos_links_unique","columns":["analisis_de_necesidad_id","dato_total_gastos_id"],"type":"unique"}],"foreignKeys":[{"name":"analisis_de_necesidades_datos_total_gastos_links_fk","columns":["analisis_de_necesidad_id"],"referencedColumns":["id"],"referencedTable":"analisis_de_necesidades","onDelete":"CASCADE"},{"name":"analisis_de_necesidades_datos_total_gastos_links_inv_fk","columns":["dato_total_gastos_id"],"referencedColumns":["id"],"referencedTable":"datos_total_gastos","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"analisis_de_necesidad_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_total_gastos_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"analisis_de_necesidades_datos_compromiso_prima_links","indexes":[{"name":"analisis_de_necesidades_datos_compromiso_prima_links_fk","columns":["analisis_de_necesidad_id"]},{"name":"analisis_de_necesidades_datos_compromiso_prima_links_inv_fk","columns":["dato_compromiso_prima_id"]},{"name":"analisis_de_necesidades_datos_compromiso_prima_links_unique","columns":["analisis_de_necesidad_id","dato_compromiso_prima_id"],"type":"unique"}],"foreignKeys":[{"name":"analisis_de_necesidades_datos_compromiso_prima_links_fk","columns":["analisis_de_necesidad_id"],"referencedColumns":["id"],"referencedTable":"analisis_de_necesidades","onDelete":"CASCADE"},{"name":"analisis_de_necesidades_datos_compromiso_prima_links_inv_fk","columns":["dato_compromiso_prima_id"],"referencedColumns":["id"],"referencedTable":"datos_compromiso_primas","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"analisis_de_necesidad_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_compromiso_prima_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"analisis_de_necesidades_datos_referidos_cercanos_links","indexes":[{"name":"analisis_de_necesidades_datos_referidos_cercanos_links_fk","columns":["analisis_de_necesidad_id"]},{"name":"analisis_de_necesidades_datos_referidos_cercanos_links_inv_fk","columns":["dato_referidos_cercanos_id"]},{"name":"analisis_de_necesidades_datos_referidos_cercanos_links_unique","columns":["analisis_de_necesidad_id","dato_referidos_cercanos_id"],"type":"unique"}],"foreignKeys":[{"name":"analisis_de_necesidades_datos_referidos_cercanos_links_fk","columns":["analisis_de_necesidad_id"],"referencedColumns":["id"],"referencedTable":"analisis_de_necesidades","onDelete":"CASCADE"},{"name":"analisis_de_necesidades_datos_referidos_cercanos_links_inv_fk","columns":["dato_referidos_cercanos_id"],"referencedColumns":["id"],"referencedTable":"datos_referidos_cercanos","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"analisis_de_necesidad_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_referidos_cercanos_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_academicos_agentes_agente_links","indexes":[{"name":"datos_academicos_agentes_agente_links_fk","columns":["dato_academico_agente_id"]},{"name":"datos_academicos_agentes_agente_links_inv_fk","columns":["agente_id"]},{"name":"datos_academicos_agentes_agente_links_unique","columns":["dato_academico_agente_id","agente_id"],"type":"unique"}],"foreignKeys":[{"name":"datos_academicos_agentes_agente_links_fk","columns":["dato_academico_agente_id"],"referencedColumns":["id"],"referencedTable":"datos_academicos_agentes","onDelete":"CASCADE"},{"name":"datos_academicos_agentes_agente_links_inv_fk","columns":["agente_id"],"referencedColumns":["id"],"referencedTable":"agentes","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"dato_academico_agente_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"agente_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_adicionales_persona_links","indexes":[{"name":"datos_adicionales_persona_links_fk","columns":["dato_adicional_id"]},{"name":"datos_adicionales_persona_links_inv_fk","columns":["persona_id"]},{"name":"datos_adicionales_persona_links_unique","columns":["dato_adicional_id","persona_id"],"type":"unique"}],"foreignKeys":[{"name":"datos_adicionales_persona_links_fk","columns":["dato_adicional_id"],"referencedColumns":["id"],"referencedTable":"datos_adicionales","onDelete":"CASCADE"},{"name":"datos_adicionales_persona_links_inv_fk","columns":["persona_id"],"referencedColumns":["id"],"referencedTable":"personas","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"dato_adicional_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"persona_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_compromiso_primas_persona_links","indexes":[{"name":"datos_compromiso_primas_persona_links_fk","columns":["dato_compromiso_prima_id"]},{"name":"datos_compromiso_primas_persona_links_inv_fk","columns":["persona_id"]},{"name":"datos_compromiso_primas_persona_links_unique","columns":["dato_compromiso_prima_id","persona_id"],"type":"unique"}],"foreignKeys":[{"name":"datos_compromiso_primas_persona_links_fk","columns":["dato_compromiso_prima_id"],"referencedColumns":["id"],"referencedTable":"datos_compromiso_primas","onDelete":"CASCADE"},{"name":"datos_compromiso_primas_persona_links_inv_fk","columns":["persona_id"],"referencedColumns":["id"],"referencedTable":"personas","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"dato_compromiso_prima_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"persona_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_cuestionario_agentes_agente_links","indexes":[{"name":"datos_cuestionario_agentes_agente_links_fk","columns":["dato_cuestionario_agente_id"]},{"name":"datos_cuestionario_agentes_agente_links_inv_fk","columns":["agente_id"]},{"name":"datos_cuestionario_agentes_agente_links_unique","columns":["dato_cuestionario_agente_id","agente_id"],"type":"unique"}],"foreignKeys":[{"name":"datos_cuestionario_agentes_agente_links_fk","columns":["dato_cuestionario_agente_id"],"referencedColumns":["id"],"referencedTable":"datos_cuestionario_agentes","onDelete":"CASCADE"},{"name":"datos_cuestionario_agentes_agente_links_inv_fk","columns":["agente_id"],"referencedColumns":["id"],"referencedTable":"agentes","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"dato_cuestionario_agente_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"agente_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_entorno_angetes_agente_links","indexes":[{"name":"datos_entorno_angetes_agente_links_fk","columns":["dato_entorno_angete_id"]},{"name":"datos_entorno_angetes_agente_links_inv_fk","columns":["agente_id"]},{"name":"datos_entorno_angetes_agente_links_unique","columns":["dato_entorno_angete_id","agente_id"],"type":"unique"}],"foreignKeys":[{"name":"datos_entorno_angetes_agente_links_fk","columns":["dato_entorno_angete_id"],"referencedColumns":["id"],"referencedTable":"datos_entorno_angetes","onDelete":"CASCADE"},{"name":"datos_entorno_angetes_agente_links_inv_fk","columns":["agente_id"],"referencedColumns":["id"],"referencedTable":"agentes","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"dato_entorno_angete_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"agente_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_familiares_persona_links","indexes":[{"name":"datos_familiares_persona_links_fk","columns":["dato_familiar_id"]},{"name":"datos_familiares_persona_links_inv_fk","columns":["persona_id"]},{"name":"datos_familiares_persona_links_unique","columns":["dato_familiar_id","persona_id"],"type":"unique"}],"foreignKeys":[{"name":"datos_familiares_persona_links_fk","columns":["dato_familiar_id"],"referencedColumns":["id"],"referencedTable":"datos_familiares","onDelete":"CASCADE"},{"name":"datos_familiares_persona_links_inv_fk","columns":["persona_id"],"referencedColumns":["id"],"referencedTable":"personas","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"dato_familiar_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"persona_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_financieros_persona_links","indexes":[{"name":"datos_financieros_persona_links_fk","columns":["dato_financiero_id"]},{"name":"datos_financieros_persona_links_inv_fk","columns":["persona_id"]},{"name":"datos_financieros_persona_links_unique","columns":["dato_financiero_id","persona_id"],"type":"unique"}],"foreignKeys":[{"name":"datos_financieros_persona_links_fk","columns":["dato_financiero_id"],"referencedColumns":["id"],"referencedTable":"datos_financieros","onDelete":"CASCADE"},{"name":"datos_financieros_persona_links_inv_fk","columns":["persona_id"],"referencedColumns":["id"],"referencedTable":"personas","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"dato_financiero_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"persona_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_ingresos_gastos_persona_links","indexes":[{"name":"datos_ingresos_gastos_persona_links_fk","columns":["dato_ingresos_gastos_id"]},{"name":"datos_ingresos_gastos_persona_links_inv_fk","columns":["persona_id"]},{"name":"datos_ingresos_gastos_persona_links_unique","columns":["dato_ingresos_gastos_id","persona_id"],"type":"unique"}],"foreignKeys":[{"name":"datos_ingresos_gastos_persona_links_fk","columns":["dato_ingresos_gastos_id"],"referencedColumns":["id"],"referencedTable":"datos_ingresos_gastos","onDelete":"CASCADE"},{"name":"datos_ingresos_gastos_persona_links_inv_fk","columns":["persona_id"],"referencedColumns":["id"],"referencedTable":"personas","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"dato_ingresos_gastos_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"persona_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_jubilacion_persona_links","indexes":[{"name":"datos_jubilacion_persona_links_fk","columns":["dato_jubilacion_id"]},{"name":"datos_jubilacion_persona_links_inv_fk","columns":["persona_id"]},{"name":"datos_jubilacion_persona_links_unique","columns":["dato_jubilacion_id","persona_id"],"type":"unique"}],"foreignKeys":[{"name":"datos_jubilacion_persona_links_fk","columns":["dato_jubilacion_id"],"referencedColumns":["id"],"referencedTable":"datos_jubilacion","onDelete":"CASCADE"},{"name":"datos_jubilacion_persona_links_inv_fk","columns":["persona_id"],"referencedColumns":["id"],"referencedTable":"personas","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"dato_jubilacion_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"persona_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_laborales_agentes_agente_links","indexes":[{"name":"datos_laborales_agentes_agente_links_fk","columns":["dato_laboral_agente_id"]},{"name":"datos_laborales_agentes_agente_links_inv_fk","columns":["agente_id"]},{"name":"datos_laborales_agentes_agente_links_unique","columns":["dato_laboral_agente_id","agente_id"],"type":"unique"}],"foreignKeys":[{"name":"datos_laborales_agentes_agente_links_fk","columns":["dato_laboral_agente_id"],"referencedColumns":["id"],"referencedTable":"datos_laborales_agentes","onDelete":"CASCADE"},{"name":"datos_laborales_agentes_agente_links_inv_fk","columns":["agente_id"],"referencedColumns":["id"],"referencedTable":"agentes","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"dato_laboral_agente_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"agente_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_opiniones_laborales_agentes_agente_links","indexes":[{"name":"datos_opiniones_laborales_agentes_agente_links_fk","columns":["dato_opinion_laboral_agente_id"]},{"name":"datos_opiniones_laborales_agentes_agente_links_inv_fk","columns":["agente_id"]},{"name":"datos_opiniones_laborales_agentes_agente_links_unique","columns":["dato_opinion_laboral_agente_id","agente_id"],"type":"unique"}],"foreignKeys":[{"name":"datos_opiniones_laborales_agentes_agente_links_fk","columns":["dato_opinion_laboral_agente_id"],"referencedColumns":["id"],"referencedTable":"datos_opiniones_laborales_agentes","onDelete":"CASCADE"},{"name":"datos_opiniones_laborales_agentes_agente_links_inv_fk","columns":["agente_id"],"referencedColumns":["id"],"referencedTable":"agentes","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"dato_opinion_laboral_agente_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"agente_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_personales_agentes_agente_links","indexes":[{"name":"datos_personales_agentes_agente_links_fk","columns":["dato_personal_agente_id"]},{"name":"datos_personales_agentes_agente_links_inv_fk","columns":["agente_id"]},{"name":"datos_personales_agentes_agente_links_unique","columns":["dato_personal_agente_id","agente_id"],"type":"unique"}],"foreignKeys":[{"name":"datos_personales_agentes_agente_links_fk","columns":["dato_personal_agente_id"],"referencedColumns":["id"],"referencedTable":"datos_personales_agentes","onDelete":"CASCADE"},{"name":"datos_personales_agentes_agente_links_inv_fk","columns":["agente_id"],"referencedColumns":["id"],"referencedTable":"agentes","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"dato_personal_agente_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"agente_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_referencias_comerciales_agentes_agente_links","indexes":[{"name":"datos_referencias_comerciales_agentes_agente_links_fk","columns":["dato_referencia_comercial_agente_id"]},{"name":"datos_referencias_comerciales_agentes_agente_links_inv_fk","columns":["agente_id"]},{"name":"datos_referencias_comerciales_agentes_agente_links_unique","columns":["dato_referencia_comercial_agente_id","agente_id"],"type":"unique"},{"name":"datos_referencias_comerciales_agentes_agente_links_order_inv_fk","columns":["dato_referencia_comercial_agente_order"]}],"foreignKeys":[{"name":"datos_referencias_comerciales_agentes_agente_links_fk","columns":["dato_referencia_comercial_agente_id"],"referencedColumns":["id"],"referencedTable":"datos_referencias_comerciales_agentes","onDelete":"CASCADE"},{"name":"datos_referencias_comerciales_agentes_agente_links_inv_fk","columns":["agente_id"],"referencedColumns":["id"],"referencedTable":"agentes","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"dato_referencia_comercial_agente_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"agente_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_referencia_comercial_agente_order","type":"double","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_referidos_cercanos_persona_links","indexes":[{"name":"datos_referidos_cercanos_persona_links_fk","columns":["dato_referidos_cercanos_id"]},{"name":"datos_referidos_cercanos_persona_links_inv_fk","columns":["persona_id"]},{"name":"datos_referidos_cercanos_persona_links_unique","columns":["dato_referidos_cercanos_id","persona_id"],"type":"unique"}],"foreignKeys":[{"name":"datos_referidos_cercanos_persona_links_fk","columns":["dato_referidos_cercanos_id"],"referencedColumns":["id"],"referencedTable":"datos_referidos_cercanos","onDelete":"CASCADE"},{"name":"datos_referidos_cercanos_persona_links_inv_fk","columns":["persona_id"],"referencedColumns":["id"],"referencedTable":"personas","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"dato_referidos_cercanos_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"persona_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_total_gastos_persona_links","indexes":[{"name":"datos_total_gastos_persona_links_fk","columns":["dato_total_gastos_id"]},{"name":"datos_total_gastos_persona_links_inv_fk","columns":["persona_id"]},{"name":"datos_total_gastos_persona_links_unique","columns":["dato_total_gastos_id","persona_id"],"type":"unique"}],"foreignKeys":[{"name":"datos_total_gastos_persona_links_fk","columns":["dato_total_gastos_id"],"referencedColumns":["id"],"referencedTable":"datos_total_gastos","onDelete":"CASCADE"},{"name":"datos_total_gastos_persona_links_inv_fk","columns":["persona_id"],"referencedColumns":["id"],"referencedTable":"personas","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"dato_total_gastos_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"persona_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"datos_universitarios_hijos_persona_links","indexes":[{"name":"datos_universitarios_hijos_persona_links_fk","columns":["dato_universitario_hijos_id"]},{"name":"datos_universitarios_hijos_persona_links_inv_fk","columns":["persona_id"]},{"name":"datos_universitarios_hijos_persona_links_unique","columns":["dato_universitario_hijos_id","persona_id"],"type":"unique"}],"foreignKeys":[{"name":"datos_universitarios_hijos_persona_links_fk","columns":["dato_universitario_hijos_id"],"referencedColumns":["id"],"referencedTable":"datos_universitarios_hijos","onDelete":"CASCADE"},{"name":"datos_universitarios_hijos_persona_links_inv_fk","columns":["persona_id"],"referencedColumns":["id"],"referencedTable":"personas","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"dato_universitario_hijos_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"persona_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"estadisticas_referidos_link_refererido_links","indexes":[{"name":"estadisticas_referidos_link_refererido_links_fk","columns":["estadistica_referido_id"]},{"name":"estadisticas_referidos_link_refererido_links_inv_fk","columns":["link_refererido_id"]},{"name":"estadisticas_referidos_link_refererido_links_unique","columns":["estadistica_referido_id","link_refererido_id"],"type":"unique"}],"foreignKeys":[{"name":"estadisticas_referidos_link_refererido_links_fk","columns":["estadistica_referido_id"],"referencedColumns":["id"],"referencedTable":"estadisticas_referidos","onDelete":"CASCADE"},{"name":"estadisticas_referidos_link_refererido_links_inv_fk","columns":["link_refererido_id"],"referencedColumns":["id"],"referencedTable":"links_refereridos","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"estadistica_referido_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"link_refererido_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"personas_datos_laborales_links","indexes":[{"name":"personas_datos_laborales_links_fk","columns":["persona_id"]},{"name":"personas_datos_laborales_links_inv_fk","columns":["dato_laboral_id"]},{"name":"personas_datos_laborales_links_unique","columns":["persona_id","dato_laboral_id"],"type":"unique"}],"foreignKeys":[{"name":"personas_datos_laborales_links_fk","columns":["persona_id"],"referencedColumns":["id"],"referencedTable":"personas","onDelete":"CASCADE"},{"name":"personas_datos_laborales_links_inv_fk","columns":["dato_laboral_id"],"referencedColumns":["id"],"referencedTable":"datos_laborales","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"persona_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_laboral_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"personas_datos_femeninos_links","indexes":[{"name":"personas_datos_femeninos_links_fk","columns":["persona_id"]},{"name":"personas_datos_femeninos_links_inv_fk","columns":["dato_femenino_id"]},{"name":"personas_datos_femeninos_links_unique","columns":["persona_id","dato_femenino_id"],"type":"unique"}],"foreignKeys":[{"name":"personas_datos_femeninos_links_fk","columns":["persona_id"],"referencedColumns":["id"],"referencedTable":"personas","onDelete":"CASCADE"},{"name":"personas_datos_femeninos_links_inv_fk","columns":["dato_femenino_id"],"referencedColumns":["id"],"referencedTable":"datos_femeninos","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"persona_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_femenino_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"personas_datos_bancarios_links","indexes":[{"name":"personas_datos_bancarios_links_fk","columns":["persona_id"]},{"name":"personas_datos_bancarios_links_inv_fk","columns":["dato_bancario_id"]},{"name":"personas_datos_bancarios_links_unique","columns":["persona_id","dato_bancario_id"],"type":"unique"}],"foreignKeys":[{"name":"personas_datos_bancarios_links_fk","columns":["persona_id"],"referencedColumns":["id"],"referencedTable":"personas","onDelete":"CASCADE"},{"name":"personas_datos_bancarios_links_inv_fk","columns":["dato_bancario_id"],"referencedColumns":["id"],"referencedTable":"datos_bancarios","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"persona_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_bancario_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"personas_datos_otros_seguros_links","indexes":[{"name":"personas_datos_otros_seguros_links_fk","columns":["persona_id"]},{"name":"personas_datos_otros_seguros_links_inv_fk","columns":["dato_otros_seguros_id"]},{"name":"personas_datos_otros_seguros_links_unique","columns":["persona_id","dato_otros_seguros_id"],"type":"unique"}],"foreignKeys":[{"name":"personas_datos_otros_seguros_links_fk","columns":["persona_id"],"referencedColumns":["id"],"referencedTable":"personas","onDelete":"CASCADE"},{"name":"personas_datos_otros_seguros_links_inv_fk","columns":["dato_otros_seguros_id"],"referencedColumns":["id"],"referencedTable":"datos_otros_seguros","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"persona_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_otros_seguros_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"personas_datos_parientes_links","indexes":[{"name":"personas_datos_parientes_links_fk","columns":["persona_id"]},{"name":"personas_datos_parientes_links_inv_fk","columns":["dato_parientes_id"]},{"name":"personas_datos_parientes_links_unique","columns":["persona_id","dato_parientes_id"],"type":"unique"}],"foreignKeys":[{"name":"personas_datos_parientes_links_fk","columns":["persona_id"],"referencedColumns":["id"],"referencedTable":"personas","onDelete":"CASCADE"},{"name":"personas_datos_parientes_links_inv_fk","columns":["dato_parientes_id"],"referencedColumns":["id"],"referencedTable":"datos_parientes","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"persona_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_parientes_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"personas_datos_personale_links","indexes":[{"name":"personas_datos_personale_links_fk","columns":["persona_id"]},{"name":"personas_datos_personale_links_inv_fk","columns":["dato_personal_id"]},{"name":"personas_datos_personale_links_unique","columns":["persona_id","dato_personal_id"],"type":"unique"}],"foreignKeys":[{"name":"personas_datos_personale_links_fk","columns":["persona_id"],"referencedColumns":["id"],"referencedTable":"personas","onDelete":"CASCADE"},{"name":"personas_datos_personale_links_inv_fk","columns":["dato_personal_id"],"referencedColumns":["id"],"referencedTable":"datos_personales","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"persona_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_personal_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"personas_datos_salud_links","indexes":[{"name":"personas_datos_salud_links_fk","columns":["persona_id"]},{"name":"personas_datos_salud_links_inv_fk","columns":["datos_salud_id"]},{"name":"personas_datos_salud_links_unique","columns":["persona_id","datos_salud_id"],"type":"unique"}],"foreignKeys":[{"name":"personas_datos_salud_links_fk","columns":["persona_id"],"referencedColumns":["id"],"referencedTable":"personas","onDelete":"CASCADE"},{"name":"personas_datos_salud_links_inv_fk","columns":["datos_salud_id"],"referencedColumns":["id"],"referencedTable":"datos_saluds","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"persona_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"datos_salud_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"personas_datos_tercero_links","indexes":[{"name":"personas_datos_tercero_links_fk","columns":["persona_id"]},{"name":"personas_datos_tercero_links_inv_fk","columns":["dato_terceros_id"]},{"name":"personas_datos_tercero_links_unique","columns":["persona_id","dato_terceros_id"],"type":"unique"}],"foreignKeys":[{"name":"personas_datos_tercero_links_fk","columns":["persona_id"],"referencedColumns":["id"],"referencedTable":"personas","onDelete":"CASCADE"},{"name":"personas_datos_tercero_links_inv_fk","columns":["dato_terceros_id"],"referencedColumns":["id"],"referencedTable":"datos_terceros","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"persona_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_terceros_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"personas_link_refererido_links","indexes":[{"name":"personas_link_refererido_links_fk","columns":["persona_id"]},{"name":"personas_link_refererido_links_inv_fk","columns":["link_refererido_id"]},{"name":"personas_link_refererido_links_unique","columns":["persona_id","link_refererido_id"],"type":"unique"}],"foreignKeys":[{"name":"personas_link_refererido_links_fk","columns":["persona_id"],"referencedColumns":["id"],"referencedTable":"personas","onDelete":"CASCADE"},{"name":"personas_link_refererido_links_inv_fk","columns":["link_refererido_id"],"referencedColumns":["id"],"referencedTable":"links_refereridos","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"persona_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"link_refererido_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"solicitudes_datos_bancarios_links","indexes":[{"name":"solicitudes_datos_bancarios_links_fk","columns":["solicitud_id"]},{"name":"solicitudes_datos_bancarios_links_inv_fk","columns":["dato_bancario_id"]},{"name":"solicitudes_datos_bancarios_links_unique","columns":["solicitud_id","dato_bancario_id"],"type":"unique"}],"foreignKeys":[{"name":"solicitudes_datos_bancarios_links_fk","columns":["solicitud_id"],"referencedColumns":["id"],"referencedTable":"solicitudes","onDelete":"CASCADE"},{"name":"solicitudes_datos_bancarios_links_inv_fk","columns":["dato_bancario_id"],"referencedColumns":["id"],"referencedTable":"datos_bancarios","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"solicitud_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_bancario_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"solicitudes_datos_femeninos_links","indexes":[{"name":"solicitudes_datos_femeninos_links_fk","columns":["solicitud_id"]},{"name":"solicitudes_datos_femeninos_links_inv_fk","columns":["dato_femenino_id"]},{"name":"solicitudes_datos_femeninos_links_unique","columns":["solicitud_id","dato_femenino_id"],"type":"unique"}],"foreignKeys":[{"name":"solicitudes_datos_femeninos_links_fk","columns":["solicitud_id"],"referencedColumns":["id"],"referencedTable":"solicitudes","onDelete":"CASCADE"},{"name":"solicitudes_datos_femeninos_links_inv_fk","columns":["dato_femenino_id"],"referencedColumns":["id"],"referencedTable":"datos_femeninos","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"solicitud_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_femenino_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"solicitudes_datos_laborales_links","indexes":[{"name":"solicitudes_datos_laborales_links_fk","columns":["solicitud_id"]},{"name":"solicitudes_datos_laborales_links_inv_fk","columns":["dato_laboral_id"]},{"name":"solicitudes_datos_laborales_links_unique","columns":["solicitud_id","dato_laboral_id"],"type":"unique"}],"foreignKeys":[{"name":"solicitudes_datos_laborales_links_fk","columns":["solicitud_id"],"referencedColumns":["id"],"referencedTable":"solicitudes","onDelete":"CASCADE"},{"name":"solicitudes_datos_laborales_links_inv_fk","columns":["dato_laboral_id"],"referencedColumns":["id"],"referencedTable":"datos_laborales","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"solicitud_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_laboral_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"solicitudes_datos_otros_seguros_links","indexes":[{"name":"solicitudes_datos_otros_seguros_links_fk","columns":["solicitud_id"]},{"name":"solicitudes_datos_otros_seguros_links_inv_fk","columns":["dato_otros_seguros_id"]},{"name":"solicitudes_datos_otros_seguros_links_unique","columns":["solicitud_id","dato_otros_seguros_id"],"type":"unique"}],"foreignKeys":[{"name":"solicitudes_datos_otros_seguros_links_fk","columns":["solicitud_id"],"referencedColumns":["id"],"referencedTable":"solicitudes","onDelete":"CASCADE"},{"name":"solicitudes_datos_otros_seguros_links_inv_fk","columns":["dato_otros_seguros_id"],"referencedColumns":["id"],"referencedTable":"datos_otros_seguros","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"solicitud_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_otros_seguros_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"solicitudes_datos_parientes_links","indexes":[{"name":"solicitudes_datos_parientes_links_fk","columns":["solicitud_id"]},{"name":"solicitudes_datos_parientes_links_inv_fk","columns":["dato_parientes_id"]},{"name":"solicitudes_datos_parientes_links_unique","columns":["solicitud_id","dato_parientes_id"],"type":"unique"}],"foreignKeys":[{"name":"solicitudes_datos_parientes_links_fk","columns":["solicitud_id"],"referencedColumns":["id"],"referencedTable":"solicitudes","onDelete":"CASCADE"},{"name":"solicitudes_datos_parientes_links_inv_fk","columns":["dato_parientes_id"],"referencedColumns":["id"],"referencedTable":"datos_parientes","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"solicitud_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_parientes_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"solicitudes_datos_personales_links","indexes":[{"name":"solicitudes_datos_personales_links_fk","columns":["solicitud_id"]},{"name":"solicitudes_datos_personales_links_inv_fk","columns":["dato_personal_id"]},{"name":"solicitudes_datos_personales_links_unique","columns":["solicitud_id","dato_personal_id"],"type":"unique"}],"foreignKeys":[{"name":"solicitudes_datos_personales_links_fk","columns":["solicitud_id"],"referencedColumns":["id"],"referencedTable":"solicitudes","onDelete":"CASCADE"},{"name":"solicitudes_datos_personales_links_inv_fk","columns":["dato_personal_id"],"referencedColumns":["id"],"referencedTable":"datos_personales","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"solicitud_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_personal_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"solicitudes_datos_salud_links","indexes":[{"name":"solicitudes_datos_salud_links_fk","columns":["solicitud_id"]},{"name":"solicitudes_datos_salud_links_inv_fk","columns":["datos_salud_id"]},{"name":"solicitudes_datos_salud_links_unique","columns":["solicitud_id","datos_salud_id"],"type":"unique"}],"foreignKeys":[{"name":"solicitudes_datos_salud_links_fk","columns":["solicitud_id"],"referencedColumns":["id"],"referencedTable":"solicitudes","onDelete":"CASCADE"},{"name":"solicitudes_datos_salud_links_inv_fk","columns":["datos_salud_id"],"referencedColumns":["id"],"referencedTable":"datos_saluds","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"solicitud_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"datos_salud_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]},{"name":"solicitudes_datos_terceros_links","indexes":[{"name":"solicitudes_datos_terceros_links_fk","columns":["solicitud_id"]},{"name":"solicitudes_datos_terceros_links_inv_fk","columns":["dato_terceros_id"]},{"name":"solicitudes_datos_terceros_links_unique","columns":["solicitud_id","dato_terceros_id"],"type":"unique"}],"foreignKeys":[{"name":"solicitudes_datos_terceros_links_fk","columns":["solicitud_id"],"referencedColumns":["id"],"referencedTable":"solicitudes","onDelete":"CASCADE"},{"name":"solicitudes_datos_terceros_links_inv_fk","columns":["dato_terceros_id"],"referencedColumns":["id"],"referencedTable":"datos_terceros","onDelete":"CASCADE"}],"columns":[{"name":"id","type":"increments","args":[{"primary":true,"primaryKey":true}],"defaultTo":null,"notNullable":true,"unsigned":false},{"name":"solicitud_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true},{"name":"dato_terceros_id","type":"integer","args":[],"defaultTo":null,"notNullable":false,"unsigned":true}]}]}	2023-09-11 15:04:31.57	ca42f1c3f17e7e18ec070434fdb4ece6
\.


--
-- Data for Name: strapi_migrations; Type: TABLE DATA; Schema: public; Owner: root
--

COPY public.strapi_migrations (id, name, "time") FROM stdin;
\.


--
-- Data for Name: strapi_transfer_token_permissions; Type: TABLE DATA; Schema: public; Owner: root
--

COPY public.strapi_transfer_token_permissions (id, action, created_at, updated_at, created_by_id, updated_by_id) FROM stdin;
\.


--
-- Data for Name: strapi_transfer_token_permissions_token_links; Type: TABLE DATA; Schema: public; Owner: root
--

COPY public.strapi_transfer_token_permissions_token_links (id, transfer_token_permission_id, transfer_token_id, transfer_token_permission_order) FROM stdin;
\.


--
-- Data for Name: strapi_transfer_tokens; Type: TABLE DATA; Schema: public; Owner: root
--

COPY public.strapi_transfer_tokens (id, name, description, access_key, last_used_at, expires_at, lifespan, created_at, updated_at, created_by_id, updated_by_id) FROM stdin;
\.


--
-- Data for Name: strapi_webhooks; Type: TABLE DATA; Schema: public; Owner: root
--

COPY public.strapi_webhooks (id, name, url, headers, events, enabled) FROM stdin;
\.


--
-- Data for Name: up_permissions; Type: TABLE DATA; Schema: public; Owner: root
--

COPY public.up_permissions (id, action, created_at, updated_at, created_by_id, updated_by_id) FROM stdin;
1	plugin::users-permissions.user.me	2023-08-24 00:14:21.066	2023-08-24 00:14:21.066	\N	\N
3	plugin::users-permissions.auth.callback	2023-08-24 00:14:21.084	2023-08-24 00:14:21.084	\N	\N
4	plugin::users-permissions.auth.connect	2023-08-24 00:14:21.084	2023-08-24 00:14:21.084	\N	\N
5	plugin::users-permissions.auth.forgotPassword	2023-08-24 00:14:21.084	2023-08-24 00:14:21.084	\N	\N
6	plugin::users-permissions.auth.resetPassword	2023-08-24 00:14:21.084	2023-08-24 00:14:21.084	\N	\N
8	plugin::users-permissions.auth.emailConfirmation	2023-08-24 00:14:21.084	2023-08-24 00:14:21.084	\N	\N
9	plugin::users-permissions.auth.sendEmailConfirmation	2023-08-24 00:14:21.084	2023-08-24 00:14:21.084	\N	\N
7	plugin::users-permissions.auth.register	2023-08-24 00:14:21.084	2023-08-24 00:14:21.084	\N	\N
11	api::solicitud.solicitud.addSolicitud	2023-09-07 14:01:49.41	2023-09-07 14:01:49.41	\N	\N
13	api::agente.agente.findOne	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
14	api::agente.agente.find	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
15	api::agente.agente.create	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
16	api::agente.agente.update	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
17	api::agente.agente.delete	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
18	api::analisis-de-necesidad.analisis-de-necesidad.find	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
19	api::analisis-de-necesidad.analisis-de-necesidad.findOne	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
20	api::analisis-de-necesidad.analisis-de-necesidad.create	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
21	api::analisis-de-necesidad.analisis-de-necesidad.update	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
22	api::analisis-de-necesidad.analisis-de-necesidad.delete	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
23	api::dato-academico-agente.dato-academico-agente.find	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
24	api::dato-academico-agente.dato-academico-agente.findOne	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
25	api::dato-academico-agente.dato-academico-agente.create	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
26	api::dato-academico-agente.dato-academico-agente.update	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
27	api::dato-academico-agente.dato-academico-agente.delete	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
28	api::dato-adicional.dato-adicional.find	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
29	api::dato-adicional.dato-adicional.findOne	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
30	api::dato-adicional.dato-adicional.create	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
31	api::dato-adicional.dato-adicional.update	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
32	api::dato-adicional.dato-adicional.delete	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
33	api::dato-bancario.dato-bancario.find	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
34	api::dato-bancario.dato-bancario.findOne	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
35	api::dato-bancario.dato-bancario.create	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
36	api::dato-bancario.dato-bancario.update	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
37	api::dato-bancario.dato-bancario.delete	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
38	api::dato-compromiso-prima.dato-compromiso-prima.find	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
39	api::dato-compromiso-prima.dato-compromiso-prima.findOne	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
40	api::dato-compromiso-prima.dato-compromiso-prima.create	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
41	api::dato-compromiso-prima.dato-compromiso-prima.update	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
42	api::dato-compromiso-prima.dato-compromiso-prima.delete	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
43	api::dato-cuestionario-agente.dato-cuestionario-agente.find	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
44	api::dato-cuestionario-agente.dato-cuestionario-agente.findOne	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
45	api::dato-cuestionario-agente.dato-cuestionario-agente.create	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
46	api::dato-cuestionario-agente.dato-cuestionario-agente.update	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
47	api::dato-cuestionario-agente.dato-cuestionario-agente.delete	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
48	api::dato-entorno-angete.dato-entorno-angete.find	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
49	api::dato-entorno-angete.dato-entorno-angete.findOne	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
50	api::dato-entorno-angete.dato-entorno-angete.create	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
51	api::dato-entorno-angete.dato-entorno-angete.update	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
52	api::dato-entorno-angete.dato-entorno-angete.delete	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
53	api::dato-familiar.dato-familiar.find	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
54	api::dato-familiar.dato-familiar.findOne	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
55	api::dato-familiar.dato-familiar.create	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
56	api::dato-familiar.dato-familiar.update	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
57	api::dato-familiar.dato-familiar.delete	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
58	api::dato-femenino.dato-femenino.find	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
59	api::dato-femenino.dato-femenino.findOne	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
60	api::dato-femenino.dato-femenino.create	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
61	api::dato-femenino.dato-femenino.update	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
62	api::dato-femenino.dato-femenino.delete	2023-09-08 13:02:16.529	2023-09-08 13:02:16.529	\N	\N
63	api::dato-financiero.dato-financiero.find	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
64	api::dato-financiero.dato-financiero.findOne	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
65	api::dato-financiero.dato-financiero.create	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
66	api::dato-financiero.dato-financiero.update	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
67	api::dato-financiero.dato-financiero.delete	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
68	api::dato-ingresos-gastos.dato-ingresos-gastos.find	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
69	api::dato-ingresos-gastos.dato-ingresos-gastos.findOne	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
70	api::dato-ingresos-gastos.dato-ingresos-gastos.create	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
71	api::dato-ingresos-gastos.dato-ingresos-gastos.update	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
72	api::dato-ingresos-gastos.dato-ingresos-gastos.delete	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
73	api::dato-jubilacion.dato-jubilacion.find	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
74	api::dato-jubilacion.dato-jubilacion.findOne	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
75	api::dato-jubilacion.dato-jubilacion.create	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
76	api::dato-jubilacion.dato-jubilacion.update	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
77	api::dato-jubilacion.dato-jubilacion.delete	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
78	api::dato-laboral.dato-laboral.find	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
79	api::dato-laboral.dato-laboral.findOne	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
80	api::dato-laboral.dato-laboral.create	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
81	api::dato-laboral.dato-laboral.update	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
82	api::dato-laboral.dato-laboral.delete	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
83	api::dato-laboral-agente.dato-laboral-agente.find	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
84	api::dato-laboral-agente.dato-laboral-agente.findOne	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
94	api::dato-otros-seguros.dato-otros-seguros.findOne	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
104	api::dato-personal.dato-personal.findOne	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
114	api::dato-referencia-comercial-agente.dato-referencia-comercial-agente.findOne	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
124	api::dato-terceros.dato-terceros.findOne	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
134	api::dato-universitario-hijos.dato-universitario-hijos.findOne	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
144	api::persona.persona.findOne	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
154	api::solicitud.solicitud.find	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
164	plugin::upload.content-api.find	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
86	api::dato-laboral-agente.dato-laboral-agente.update	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
96	api::dato-otros-seguros.dato-otros-seguros.update	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
106	api::dato-personal.dato-personal.update	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
116	api::dato-referencia-comercial-agente.dato-referencia-comercial-agente.update	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
126	api::dato-terceros.dato-terceros.update	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
136	api::dato-universitario-hijos.dato-universitario-hijos.update	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
146	api::persona.persona.update	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
156	api::solicitud.solicitud.create	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
166	plugin::upload.content-api.destroy	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
175	plugin::users-permissions.role.find	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
220	api::dato-adicional.dato-adicional.update	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
230	api::dato-entorno-angete.dato-entorno-angete.find	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
240	api::dato-financiero.dato-financiero.findOne	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
250	api::dato-laboral.dato-laboral.update	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
260	api::dato-parientes.dato-parientes.findOne	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
270	api::dato-referencia-comercial-agente.dato-referencia-comercial-agente.update	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
280	api::dato-universitario-hijos.dato-universitario-hijos.find	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
290	api::solicitud.solicitud.findOne	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
300	plugin::users-permissions.auth.emailConfirmation	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
87	api::dato-laboral-agente.dato-laboral-agente.delete	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
97	api::dato-otros-seguros.dato-otros-seguros.delete	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
107	api::dato-personal.dato-personal.delete	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
117	api::dato-referencia-comercial-agente.dato-referencia-comercial-agente.delete	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
127	api::dato-terceros.dato-terceros.delete	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
137	api::dato-universitario-hijos.dato-universitario-hijos.delete	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
147	api::persona.persona.delete	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
157	api::solicitud.solicitud.update	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
167	plugin::upload.content-api.upload	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
221	api::dato-bancario.dato-bancario.find	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
231	api::dato-entorno-angete.dato-entorno-angete.findOne	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
241	api::dato-financiero.dato-financiero.update	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
251	api::dato-laboral-agente.dato-laboral-agente.findOne	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
261	api::dato-parientes.dato-parientes.update	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
271	api::dato-referidos-cercanos.dato-referidos-cercanos.find	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
281	api::dato-universitario-hijos.dato-universitario-hijos.findOne	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
291	api::solicitud.solicitud.update	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
301	plugin::users-permissions.auth.sendEmailConfirmation	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
88	api::dato-opinion-laboral-agente.dato-opinion-laboral-agente.find	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
98	api::dato-parientes.dato-parientes.find	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
108	api::dato-personal-agente.dato-personal-agente.find	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
118	api::dato-referidos-cercanos.dato-referidos-cercanos.find	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
128	api::dato-total-gastos.dato-total-gastos.find	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
138	api::datos-salud.datos-salud.find	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
158	api::solicitud.solicitud.delete	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
168	plugin::i18n.locales.listLocales	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
222	api::dato-bancario.dato-bancario.findOne	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
232	api::dato-entorno-angete.dato-entorno-angete.update	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
242	api::dato-ingresos-gastos.dato-ingresos-gastos.find	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
252	api::dato-laboral-agente.dato-laboral-agente.update	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
262	api::dato-personal.dato-personal.find	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
272	api::dato-referidos-cercanos.dato-referidos-cercanos.findOne	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
282	api::dato-universitario-hijos.dato-universitario-hijos.update	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
292	plugin::email.email.send	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
89	api::dato-opinion-laboral-agente.dato-opinion-laboral-agente.findOne	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
99	api::dato-parientes.dato-parientes.findOne	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
109	api::dato-personal-agente.dato-personal-agente.findOne	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
119	api::dato-referidos-cercanos.dato-referidos-cercanos.findOne	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
129	api::dato-total-gastos.dato-total-gastos.findOne	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
139	api::datos-salud.datos-salud.findOne	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
159	plugin::content-type-builder.components.getComponents	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
223	api::dato-bancario.dato-bancario.update	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
233	api::dato-familiar.dato-familiar.find	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
243	api::dato-ingresos-gastos.dato-ingresos-gastos.findOne	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
253	api::dato-opinion-laboral-agente.dato-opinion-laboral-agente.find	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
263	api::dato-personal.dato-personal.findOne	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
273	api::dato-referidos-cercanos.dato-referidos-cercanos.update	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
283	api::datos-salud.datos-salud.find	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
293	plugin::upload.content-api.find	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
303	plugin::users-permissions.user.update	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
90	api::dato-opinion-laboral-agente.dato-opinion-laboral-agente.create	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
100	api::dato-parientes.dato-parientes.create	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
110	api::dato-personal-agente.dato-personal-agente.create	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
120	api::dato-referidos-cercanos.dato-referidos-cercanos.create	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
130	api::dato-total-gastos.dato-total-gastos.create	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
140	api::datos-salud.datos-salud.create	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
160	plugin::content-type-builder.components.getComponent	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
170	plugin::users-permissions.user.update	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
224	api::dato-compromiso-prima.dato-compromiso-prima.find	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
234	api::dato-familiar.dato-familiar.findOne	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
244	api::dato-ingresos-gastos.dato-ingresos-gastos.update	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
254	api::dato-opinion-laboral-agente.dato-opinion-laboral-agente.findOne	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
264	api::dato-personal.dato-personal.update	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
274	api::dato-terceros.dato-terceros.find	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
284	api::datos-salud.datos-salud.findOne	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
294	plugin::upload.content-api.findOne	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
304	plugin::users-permissions.user.find	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
91	api::dato-opinion-laboral-agente.dato-opinion-laboral-agente.update	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
101	api::dato-parientes.dato-parientes.update	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
111	api::dato-personal-agente.dato-personal-agente.update	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
121	api::dato-referidos-cercanos.dato-referidos-cercanos.update	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
131	api::dato-total-gastos.dato-total-gastos.update	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
141	api::datos-salud.datos-salud.update	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
161	plugin::content-type-builder.content-types.getContentTypes	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
171	plugin::users-permissions.user.find	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
225	api::dato-compromiso-prima.dato-compromiso-prima.findOne	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
235	api::dato-familiar.dato-familiar.update	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
245	api::dato-jubilacion.dato-jubilacion.find	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
255	api::dato-opinion-laboral-agente.dato-opinion-laboral-agente.update	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
265	api::dato-personal-agente.dato-personal-agente.find	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
275	api::dato-terceros.dato-terceros.findOne	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
285	api::datos-salud.datos-salud.update	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
295	plugin::upload.content-api.upload	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
305	plugin::users-permissions.user.findOne	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
92	api::dato-opinion-laboral-agente.dato-opinion-laboral-agente.delete	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
103	api::dato-parientes.dato-parientes.delete	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
113	api::dato-referencia-comercial-agente.dato-referencia-comercial-agente.find	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
123	api::dato-terceros.dato-terceros.find	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
133	api::dato-universitario-hijos.dato-universitario-hijos.find	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
143	api::persona.persona.find	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
153	api::solicitud.solicitud.addSolicitud	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
163	plugin::email.email.send	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
173	plugin::users-permissions.user.count	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
309	api::persona.persona.find	2023-09-08 13:20:50.911	2023-09-08 13:20:50.911	\N	\N
311	plugin::content-type-builder.components.getComponents	2023-09-08 13:20:50.911	2023-09-08 13:20:50.911	\N	\N
313	plugin::email.email.send	2023-09-08 13:20:50.911	2023-09-08 13:20:50.911	\N	\N
315	plugin::users-permissions.auth.resetPassword	2023-09-08 13:20:50.911	2023-09-08 13:20:50.911	\N	\N
317	plugin::users-permissions.auth.emailConfirmation	2023-09-08 13:20:50.911	2023-09-08 13:20:50.911	\N	\N
93	api::dato-otros-seguros.dato-otros-seguros.find	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
102	api::dato-personal.dato-personal.find	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
112	api::dato-personal-agente.dato-personal-agente.delete	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
122	api::dato-referidos-cercanos.dato-referidos-cercanos.delete	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
132	api::dato-total-gastos.dato-total-gastos.delete	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
142	api::datos-salud.datos-salud.delete	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
162	plugin::content-type-builder.content-types.getContentType	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
172	plugin::users-permissions.user.findOne	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
310	api::solicitud.solicitud.find	2023-09-08 13:20:50.911	2023-09-08 13:20:50.911	\N	\N
312	plugin::content-type-builder.components.getComponent	2023-09-08 13:20:50.911	2023-09-08 13:20:50.911	\N	\N
314	plugin::users-permissions.auth.changePassword	2023-09-08 13:20:50.911	2023-09-08 13:20:50.911	\N	\N
316	plugin::users-permissions.auth.forgotPassword	2023-09-08 13:20:50.911	2023-09-08 13:20:50.911	\N	\N
177	api::agente.agente.find	2023-09-08 13:12:43.306	2023-09-08 13:12:43.306	\N	\N
179	api::agente.agente.create	2023-09-08 13:12:43.306	2023-09-08 13:12:43.306	\N	\N
181	api::persona.persona.find	2023-09-08 13:12:43.306	2023-09-08 13:12:43.306	\N	\N
183	api::solicitud.solicitud.addSolicitud	2023-09-08 13:12:43.306	2023-09-08 13:12:43.306	\N	\N
185	api::solicitud.solicitud.findOne	2023-09-08 13:12:43.306	2023-09-08 13:12:43.306	\N	\N
192	plugin::upload.content-api.find	2023-09-08 13:12:43.306	2023-09-08 13:12:43.306	\N	\N
200	plugin::users-permissions.user.create	2023-09-08 13:12:43.307	2023-09-08 13:12:43.307	\N	\N
320	plugin::users-permissions.user.me	2023-09-11 09:30:11.621	2023-09-11 09:30:11.621	\N	\N
178	api::agente.agente.findOne	2023-09-08 13:12:43.306	2023-09-08 13:12:43.306	\N	\N
180	api::agente.agente.update	2023-09-08 13:12:43.306	2023-09-08 13:12:43.306	\N	\N
182	api::persona.persona.findOne	2023-09-08 13:12:43.306	2023-09-08 13:12:43.306	\N	\N
184	api::solicitud.solicitud.find	2023-09-08 13:12:43.306	2023-09-08 13:12:43.306	\N	\N
188	plugin::content-type-builder.components.getComponent	2023-09-08 13:12:43.306	2023-09-08 13:12:43.306	\N	\N
197	plugin::users-permissions.auth.resetPassword	2023-09-08 13:12:43.307	2023-09-08 13:12:43.307	\N	\N
206	plugin::users-permissions.user.destroy	2023-09-08 13:12:43.307	2023-09-08 13:12:43.307	\N	\N
186	api::solicitud.solicitud.update	2023-09-08 13:12:43.306	2023-09-08 13:12:43.306	\N	\N
194	plugin::upload.content-api.upload	2023-09-08 13:12:43.307	2023-09-08 13:12:43.307	\N	\N
204	plugin::users-permissions.user.findOne	2023-09-08 13:12:43.307	2023-09-08 13:12:43.307	\N	\N
187	plugin::content-type-builder.components.getComponents	2023-09-08 13:12:43.306	2023-09-08 13:12:43.306	\N	\N
195	plugin::i18n.locales.listLocales	2023-09-08 13:12:43.307	2023-09-08 13:12:43.307	\N	\N
205	plugin::users-permissions.user.count	2023-09-08 13:12:43.307	2023-09-08 13:12:43.307	\N	\N
208	api::agente.agente.find	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
210	api::agente.agente.create	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
212	api::analisis-de-necesidad.analisis-de-necesidad.find	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
214	api::analisis-de-necesidad.analisis-de-necesidad.update	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
216	api::dato-academico-agente.dato-academico-agente.findOne	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
226	api::dato-compromiso-prima.dato-compromiso-prima.update	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
236	api::dato-femenino.dato-femenino.find	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
246	api::dato-jubilacion.dato-jubilacion.findOne	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
256	api::dato-otros-seguros.dato-otros-seguros.find	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
266	api::dato-personal-agente.dato-personal-agente.findOne	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
276	api::dato-terceros.dato-terceros.update	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
286	api::persona.persona.find	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
296	plugin::i18n.locales.listLocales	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
306	plugin::users-permissions.user.count	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
189	plugin::content-type-builder.content-types.getContentTypes	2023-09-08 13:12:43.306	2023-09-08 13:12:43.306	\N	\N
198	plugin::users-permissions.auth.forgotPassword	2023-09-08 13:12:43.307	2023-09-08 13:12:43.307	\N	\N
190	plugin::content-type-builder.content-types.getContentType	2023-09-08 13:12:43.306	2023-09-08 13:12:43.306	\N	\N
199	plugin::users-permissions.auth.sendEmailConfirmation	2023-09-08 13:12:43.307	2023-09-08 13:12:43.307	\N	\N
209	api::agente.agente.findOne	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
211	api::agente.agente.update	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
213	api::analisis-de-necesidad.analisis-de-necesidad.findOne	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
215	api::dato-academico-agente.dato-academico-agente.find	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
218	api::dato-adicional.dato-adicional.find	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
228	api::dato-cuestionario-agente.dato-cuestionario-agente.findOne	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
238	api::dato-femenino.dato-femenino.update	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
248	api::dato-laboral.dato-laboral.find	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
258	api::dato-otros-seguros.dato-otros-seguros.update	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
268	api::dato-referencia-comercial-agente.dato-referencia-comercial-agente.find	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
278	api::dato-total-gastos.dato-total-gastos.findOne	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
288	api::persona.persona.update	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
298	plugin::users-permissions.auth.resetPassword	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
308	plugin::users-permissions.user.me	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
191	plugin::email.email.send	2023-09-08 13:12:43.306	2023-09-08 13:12:43.306	\N	\N
202	plugin::users-permissions.user.update	2023-09-08 13:12:43.307	2023-09-08 13:12:43.307	\N	\N
193	plugin::upload.content-api.findOne	2023-09-08 13:12:43.307	2023-09-08 13:12:43.307	\N	\N
203	plugin::users-permissions.user.find	2023-09-08 13:12:43.307	2023-09-08 13:12:43.307	\N	\N
196	plugin::users-permissions.auth.changePassword	2023-09-08 13:12:43.307	2023-09-08 13:12:43.307	\N	\N
207	plugin::users-permissions.user.me	2023-09-08 13:12:43.307	2023-09-08 13:12:43.307	\N	\N
201	plugin::users-permissions.auth.emailConfirmation	2023-09-08 13:12:43.307	2023-09-08 13:12:43.307	\N	\N
217	api::dato-academico-agente.dato-academico-agente.update	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
227	api::dato-cuestionario-agente.dato-cuestionario-agente.find	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
237	api::dato-femenino.dato-femenino.findOne	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
247	api::dato-jubilacion.dato-jubilacion.update	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
257	api::dato-otros-seguros.dato-otros-seguros.findOne	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
267	api::dato-personal-agente.dato-personal-agente.update	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
277	api::dato-total-gastos.dato-total-gastos.find	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
287	api::persona.persona.findOne	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
297	plugin::users-permissions.auth.changePassword	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
307	plugin::users-permissions.user.destroy	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
219	api::dato-adicional.dato-adicional.findOne	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
229	api::dato-cuestionario-agente.dato-cuestionario-agente.update	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
239	api::dato-financiero.dato-financiero.find	2023-09-08 13:18:00.598	2023-09-08 13:18:00.598	\N	\N
249	api::dato-laboral.dato-laboral.findOne	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
259	api::dato-parientes.dato-parientes.find	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
269	api::dato-referencia-comercial-agente.dato-referencia-comercial-agente.findOne	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
279	api::dato-total-gastos.dato-total-gastos.update	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
289	api::solicitud.solicitud.find	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
299	plugin::users-permissions.auth.forgotPassword	2023-09-08 13:18:00.599	2023-09-08 13:18:00.599	\N	\N
85	api::dato-laboral-agente.dato-laboral-agente.create	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
95	api::dato-otros-seguros.dato-otros-seguros.create	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
105	api::dato-personal.dato-personal.create	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
115	api::dato-referencia-comercial-agente.dato-referencia-comercial-agente.create	2023-09-08 13:02:16.53	2023-09-08 13:02:16.53	\N	\N
125	api::dato-terceros.dato-terceros.create	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
135	api::dato-universitario-hijos.dato-universitario-hijos.create	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
145	api::persona.persona.create	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
155	api::solicitud.solicitud.findOne	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
165	plugin::upload.content-api.findOne	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
176	plugin::users-permissions.role.findOne	2023-09-08 13:02:16.531	2023-09-08 13:02:16.531	\N	\N
\.


--
-- Data for Name: up_permissions_role_links; Type: TABLE DATA; Schema: public; Owner: root
--

COPY public.up_permissions_role_links (id, permission_id, role_id, permission_order) FROM stdin;
2	1	1	1
3	3	2	1
4	4	2	1
5	5	2	1
6	6	2	1
7	8	2	1
8	9	2	1
9	7	2	1
11	11	2	2
13	14	1	2
14	13	1	2
15	15	1	2
16	16	1	2
17	17	1	2
18	18	1	2
19	20	1	2
20	19	1	2
21	21	1	2
22	22	1	2
23	23	1	3
24	24	1	3
25	25	1	3
26	26	1	3
27	27	1	3
28	28	1	3
29	29	1	3
30	30	1	3
31	31	1	3
32	32	1	3
33	33	1	4
34	34	1	4
35	35	1	4
36	36	1	4
37	37	1	4
38	38	1	4
39	39	1	4
40	40	1	4
41	41	1	5
42	42	1	5
43	43	1	5
44	44	1	6
45	45	1	6
46	46	1	6
47	47	1	6
48	48	1	6
49	49	1	6
50	50	1	6
51	51	1	6
52	52	1	7
53	53	1	7
54	54	1	7
55	55	1	8
56	56	1	8
57	57	1	8
58	58	1	8
59	59	1	8
60	60	1	8
61	61	1	8
62	62	1	8
63	63	1	9
64	64	1	9
65	65	1	9
66	66	1	9
67	67	1	9
68	68	1	9
69	69	1	10
70	70	1	10
71	71	1	10
72	72	1	10
73	73	1	10
74	74	1	10
75	75	1	11
76	76	1	11
77	77	1	11
78	78	1	11
79	79	1	11
80	80	1	11
81	81	1	12
82	82	1	12
83	83	1	12
84	84	1	12
85	85	1	12
86	86	1	13
87	87	1	13
88	88	1	13
89	89	1	13
90	90	1	13
91	91	1	13
92	92	1	13
93	93	1	14
94	94	1	14
95	95	1	14
96	96	1	14
97	97	1	14
98	98	1	15
99	99	1	15
100	100	1	15
101	101	1	15
102	102	1	15
103	103	1	15
104	104	1	15
105	105	1	16
106	106	1	16
107	107	1	16
108	108	1	16
109	109	1	17
110	110	1	17
111	111	1	17
112	112	1	17
113	113	1	17
114	114	1	17
115	115	1	17
116	116	1	18
117	117	1	18
118	118	1	18
119	119	1	18
120	120	1	18
121	121	1	18
122	122	1	18
123	123	1	19
124	124	1	19
125	125	1	19
126	126	1	19
127	127	1	19
128	128	1	19
129	129	1	20
130	130	1	20
131	131	1	20
132	132	1	20
133	133	1	20
134	134	1	20
135	135	1	20
136	136	1	21
137	137	1	21
138	138	1	21
139	139	1	21
140	140	1	21
141	141	1	21
142	142	1	21
143	143	1	22
144	144	1	22
145	145	1	22
146	146	1	22
147	147	1	22
153	153	1	23
154	154	1	23
155	155	1	23
156	156	1	24
157	157	1	24
158	158	1	24
159	159	1	24
160	160	1	24
171	170	1	26
161	161	1	24
170	171	1	26
162	162	1	24
172	172	1	26
163	163	1	25
164	164	1	25
173	173	1	26
165	165	1	25
175	175	1	26
166	166	1	25
176	176	1	27
167	167	1	25
168	168	1	25
177	178	3	1
178	177	3	1
179	179	3	1
180	180	3	1
181	181	3	1
182	182	3	1
183	183	3	1
184	184	3	1
185	185	3	1
186	186	3	1
187	187	3	2
188	188	3	2
189	189	3	2
190	190	3	2
191	192	3	2
192	191	3	2
193	193	3	2
194	194	3	2
195	195	3	2
196	197	3	2
197	196	3	3
198	198	3	3
199	199	3	3
200	200	3	3
201	201	3	3
202	202	3	3
203	203	3	3
204	204	3	3
205	205	3	3
206	206	3	3
207	207	3	4
208	208	4	1
209	209	4	1
210	210	4	1
211	211	4	1
212	212	4	1
213	213	4	1
214	214	4	1
215	215	4	1
216	216	4	1
217	217	4	1
218	218	4	2
219	219	4	2
220	220	4	2
221	221	4	2
222	222	4	2
223	223	4	2
224	224	4	2
225	225	4	2
226	226	4	2
227	227	4	2
228	228	4	3
229	229	4	3
230	230	4	3
231	231	4	3
232	232	4	3
233	233	4	3
234	234	4	3
235	235	4	3
236	236	4	3
237	237	4	3
238	238	4	4
239	239	4	4
240	240	4	4
241	241	4	4
242	242	4	4
243	243	4	4
244	244	4	4
245	245	4	4
246	246	4	4
247	247	4	4
248	248	4	5
249	249	4	5
250	250	4	5
251	251	4	5
252	252	4	5
253	253	4	5
254	254	4	5
255	255	4	6
256	256	4	6
257	257	4	6
258	258	4	6
259	259	4	7
260	260	4	7
261	261	4	7
262	262	4	7
263	263	4	7
264	264	4	7
265	265	4	7
266	266	4	7
267	267	4	8
268	268	4	8
269	269	4	8
270	270	4	9
271	271	4	9
272	272	4	9
273	273	4	9
274	274	4	9
275	275	4	9
276	276	4	9
277	277	4	9
278	278	4	10
279	279	4	10
280	280	4	10
281	281	4	10
282	282	4	10
283	283	4	11
284	284	4	11
285	285	4	11
286	286	4	11
287	287	4	11
288	288	4	11
289	289	4	11
290	290	4	12
291	291	4	12
292	292	4	12
293	293	4	12
294	294	4	13
295	295	4	13
296	296	4	13
297	297	4	13
298	298	4	13
299	299	4	13
300	300	4	13
301	301	4	13
303	303	4	14
304	304	4	14
305	305	4	15
306	306	4	15
307	307	4	15
308	308	4	15
309	309	5	1
310	310	5	1
311	311	5	1
312	312	5	1
313	313	5	1
314	314	5	1
315	315	5	1
316	316	5	1
317	317	5	2
320	320	5	3
\.


--
-- Data for Name: up_roles; Type: TABLE DATA; Schema: public; Owner: root
--

COPY public.up_roles (id, name, description, type, created_at, updated_at, created_by_id, updated_by_id) FROM stdin;
2	Public	Default role given to unauthenticated user.	public	2023-08-24 00:14:21.054	2023-09-07 14:01:49.382	\N	\N
3	Gerente	Supervisa a los líderes de equipo de ventas, garantiza el cumplimiento de los objetivos de ventas, y desarrolla y mantiene las estrategias y procesos de ventas usando un CRM	gerente	2023-09-08 13:12:43.277	2023-09-08 13:12:43.277	\N	\N
1	Admin	Default role given to authenticated user.	authenticated	2023-08-24 00:14:21.047	2023-09-08 16:28:05.66	\N	\N
5	Agente	Los agentes de ventas son responsables de generar leads y realizar presentaciones de ventas. También utilizan el CRM para gestionar sus prospectos y clientes.	agente	2023-09-08 13:20:50.899	2023-09-11 09:30:11.598	\N	\N
4	Lider de equipo	Los líderes de equipo de ventas supervisan a los agentes de ventas, establecen metas y objetivos, capacitan y desarrollan a los agentes, y trabajan para garantizar que el equipo cumpla con los objetivos de ventas.	lider_de_equipo	2023-09-08 13:18:00.588	2023-09-11 09:30:30.494	\N	\N
\.


--
-- Data for Name: up_users; Type: TABLE DATA; Schema: public; Owner: root
--

COPY public.up_users (id, username, email, provider, password, reset_password_token, confirmation_token, confirmed, blocked, created_at, updated_at, created_by_id, updated_by_id, role_external, phone, first_names, last_names) FROM stdin;
2	test	test@test.com	local	$2a$10$2ZYZeW646zb7gzIh6fVTzuW0EYZ.kmPabAuwD9j1N2vekk/3WkVyy	\N	\N	t	f	2023-09-08 14:22:30.417	2023-09-08 14:22:30.417	1	1	admin	000	test	test
1	pepito	elierser.d.alvarez.00@gmail.com	local	$2a$10$pyK56fUtkfA5581snq9NZ.PC6xdVMgxsEhoOusEulrBysgF9R5myK	\N	\N	t	f	2023-09-06 13:14:43.839	2023-09-09 20:54:14.605	1	1	admin	\N	\N	\N
3	test2	test2@test.com	local	$2a$10$Rd.8RZQP5jPSNXlByOE.je5dfB2yzvQhGFTQHn0XVil1xw4xKQyYS	\N	\N	t	f	2023-09-09 21:07:31.002	2023-09-09 21:07:31.002	1	1	admin	\N	\N	\N
4	test3	test3@test.com	local	$2a$10$Nw4xJSCmxxCQ0ztvQupBH.UknP/1d8nL7LT1534Pxx8U9pO6ht97.	\N	\N	f	f	2023-09-09 21:36:27.179	2023-09-09 21:36:27.179	\N	\N	\N	\N	\N	\N
\.


--
-- Data for Name: up_users_role_links; Type: TABLE DATA; Schema: public; Owner: root
--

COPY public.up_users_role_links (id, user_id, role_id, user_order) FROM stdin;
1	1	1	1
2	2	1	2
3	3	1	3
\.


--
-- Data for Name: upload_folders; Type: TABLE DATA; Schema: public; Owner: root
--

COPY public.upload_folders (id, name, path_id, path, created_at, updated_at, created_by_id, updated_by_id) FROM stdin;
\.


--
-- Data for Name: upload_folders_parent_links; Type: TABLE DATA; Schema: public; Owner: root
--

COPY public.upload_folders_parent_links (id, folder_id, inv_folder_id, folder_order) FROM stdin;
\.


--
-- Name: admin_permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.admin_permissions_id_seq', 1879, true);


--
-- Name: admin_permissions_role_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.admin_permissions_role_links_id_seq', 1879, true);


--
-- Name: admin_roles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.admin_roles_id_seq', 3, true);


--
-- Name: admin_users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.admin_users_id_seq', 7, true);


--
-- Name: admin_users_roles_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.admin_users_roles_links_id_seq', 3, true);


--
-- Name: agentes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.agentes_id_seq', 1, false);


--
-- Name: agentes_link_refererido_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.agentes_link_refererido_links_id_seq', 1, false);


--
-- Name: analisis_de_necesidades_datos_adicionales_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.analisis_de_necesidades_datos_adicionales_links_id_seq', 1, false);


--
-- Name: analisis_de_necesidades_datos_compromiso_prima_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.analisis_de_necesidades_datos_compromiso_prima_links_id_seq', 1, false);


--
-- Name: analisis_de_necesidades_datos_familiares_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.analisis_de_necesidades_datos_familiares_links_id_seq', 1, false);


--
-- Name: analisis_de_necesidades_datos_financieros_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.analisis_de_necesidades_datos_financieros_links_id_seq', 1, false);


--
-- Name: analisis_de_necesidades_datos_ingresos_gastos_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.analisis_de_necesidades_datos_ingresos_gastos_links_id_seq', 1, false);


--
-- Name: analisis_de_necesidades_datos_jubilacion_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.analisis_de_necesidades_datos_jubilacion_links_id_seq', 1, false);


--
-- Name: analisis_de_necesidades_datos_personales_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.analisis_de_necesidades_datos_personales_links_id_seq', 1, false);


--
-- Name: analisis_de_necesidades_datos_referidos_cercanos_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.analisis_de_necesidades_datos_referidos_cercanos_links_id_seq', 1, false);


--
-- Name: analisis_de_necesidades_datos_total_gastos_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.analisis_de_necesidades_datos_total_gastos_links_id_seq', 1, false);


--
-- Name: analisis_de_necesidades_datos_universitarios_hijos_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.analisis_de_necesidades_datos_universitarios_hijos_links_id_seq', 1, false);


--
-- Name: analisis_de_necesidades_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.analisis_de_necesidades_id_seq', 1, false);


--
-- Name: datos_academicos_agentes_agente_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_academicos_agentes_agente_links_id_seq', 1, false);


--
-- Name: datos_academicos_agentes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_academicos_agentes_id_seq', 1, false);


--
-- Name: datos_adicionales_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_adicionales_id_seq', 1, false);


--
-- Name: datos_adicionales_persona_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_adicionales_persona_links_id_seq', 1, false);


--
-- Name: datos_bancarios_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_bancarios_id_seq', 1, false);


--
-- Name: datos_compromiso_primas_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_compromiso_primas_id_seq', 1, false);


--
-- Name: datos_compromiso_primas_persona_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_compromiso_primas_persona_links_id_seq', 1, false);


--
-- Name: datos_cuestionario_agentes_agente_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_cuestionario_agentes_agente_links_id_seq', 1, false);


--
-- Name: datos_cuestionario_agentes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_cuestionario_agentes_id_seq', 1, false);


--
-- Name: datos_entorno_angetes_agente_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_entorno_angetes_agente_links_id_seq', 1, false);


--
-- Name: datos_entorno_angetes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_entorno_angetes_id_seq', 1, false);


--
-- Name: datos_familiares_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_familiares_id_seq', 1, false);


--
-- Name: datos_familiares_persona_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_familiares_persona_links_id_seq', 1, false);


--
-- Name: datos_femeninos_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_femeninos_id_seq', 1, false);


--
-- Name: datos_financieros_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_financieros_id_seq', 1, false);


--
-- Name: datos_financieros_persona_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_financieros_persona_links_id_seq', 1, false);


--
-- Name: datos_ingresos_gastos_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_ingresos_gastos_id_seq', 1, false);


--
-- Name: datos_ingresos_gastos_persona_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_ingresos_gastos_persona_links_id_seq', 1, false);


--
-- Name: datos_jubilacion_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_jubilacion_id_seq', 1, false);


--
-- Name: datos_jubilacion_persona_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_jubilacion_persona_links_id_seq', 1, false);


--
-- Name: datos_laborales_agentes_agente_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_laborales_agentes_agente_links_id_seq', 1, false);


--
-- Name: datos_laborales_agentes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_laborales_agentes_id_seq', 1, false);


--
-- Name: datos_laborales_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_laborales_id_seq', 1, false);


--
-- Name: datos_opiniones_laborales_agentes_agente_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_opiniones_laborales_agentes_agente_links_id_seq', 1, false);


--
-- Name: datos_opiniones_laborales_agentes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_opiniones_laborales_agentes_id_seq', 1, false);


--
-- Name: datos_otros_seguros_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_otros_seguros_id_seq', 1, false);


--
-- Name: datos_parientes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_parientes_id_seq', 1, false);


--
-- Name: datos_personales_agentes_agente_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_personales_agentes_agente_links_id_seq', 1, false);


--
-- Name: datos_personales_agentes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_personales_agentes_id_seq', 1, false);


--
-- Name: datos_personales_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_personales_id_seq', 1, false);


--
-- Name: datos_referencias_comerciales_agentes_agente_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_referencias_comerciales_agentes_agente_links_id_seq', 1, false);


--
-- Name: datos_referencias_comerciales_agentes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_referencias_comerciales_agentes_id_seq', 1, false);


--
-- Name: datos_referidos_cercanos_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_referidos_cercanos_id_seq', 1, false);


--
-- Name: datos_referidos_cercanos_persona_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_referidos_cercanos_persona_links_id_seq', 1, false);


--
-- Name: datos_saluds_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_saluds_id_seq', 1, false);


--
-- Name: datos_terceros_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_terceros_id_seq', 1, false);


--
-- Name: datos_total_gastos_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_total_gastos_id_seq', 1, false);


--
-- Name: datos_total_gastos_persona_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_total_gastos_persona_links_id_seq', 1, false);


--
-- Name: datos_universitarios_hijos_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_universitarios_hijos_id_seq', 1, false);


--
-- Name: datos_universitarios_hijos_persona_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.datos_universitarios_hijos_persona_links_id_seq', 1, false);


--
-- Name: estadisticas_referidos_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.estadisticas_referidos_id_seq', 1, false);


--
-- Name: estadisticas_referidos_link_refererido_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.estadisticas_referidos_link_refererido_links_id_seq', 1, false);


--
-- Name: files_folder_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.files_folder_links_id_seq', 1, false);


--
-- Name: files_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.files_id_seq', 1, false);


--
-- Name: files_related_morphs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.files_related_morphs_id_seq', 1, false);


--
-- Name: i18n_locale_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.i18n_locale_id_seq', 1, true);


--
-- Name: links_refereridos_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.links_refereridos_id_seq', 1, false);


--
-- Name: personas_datos_bancarios_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.personas_datos_bancarios_links_id_seq', 1, false);


--
-- Name: personas_datos_femeninos_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.personas_datos_femeninos_links_id_seq', 1, false);


--
-- Name: personas_datos_laborales_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.personas_datos_laborales_links_id_seq', 1, false);


--
-- Name: personas_datos_otros_seguros_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.personas_datos_otros_seguros_links_id_seq', 1, false);


--
-- Name: personas_datos_parientes_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.personas_datos_parientes_links_id_seq', 1, false);


--
-- Name: personas_datos_personale_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.personas_datos_personale_links_id_seq', 1, false);


--
-- Name: personas_datos_salud_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.personas_datos_salud_links_id_seq', 1, false);


--
-- Name: personas_datos_tercero_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.personas_datos_tercero_links_id_seq', 1, false);


--
-- Name: personas_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.personas_id_seq', 1, false);


--
-- Name: personas_link_refererido_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.personas_link_refererido_links_id_seq', 1, false);


--
-- Name: solicitudes_datos_bancarios_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.solicitudes_datos_bancarios_links_id_seq', 1, false);


--
-- Name: solicitudes_datos_femeninos_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.solicitudes_datos_femeninos_links_id_seq', 1, false);


--
-- Name: solicitudes_datos_laborales_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.solicitudes_datos_laborales_links_id_seq', 1, false);


--
-- Name: solicitudes_datos_otros_seguros_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.solicitudes_datos_otros_seguros_links_id_seq', 1, false);


--
-- Name: solicitudes_datos_parientes_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.solicitudes_datos_parientes_links_id_seq', 1, false);


--
-- Name: solicitudes_datos_personales_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.solicitudes_datos_personales_links_id_seq', 1, false);


--
-- Name: solicitudes_datos_salud_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.solicitudes_datos_salud_links_id_seq', 1, false);


--
-- Name: solicitudes_datos_terceros_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.solicitudes_datos_terceros_links_id_seq', 1, false);


--
-- Name: solicitudes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.solicitudes_id_seq', 1, false);


--
-- Name: strapi_api_token_permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.strapi_api_token_permissions_id_seq', 1, false);


--
-- Name: strapi_api_token_permissions_token_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.strapi_api_token_permissions_token_links_id_seq', 1, false);


--
-- Name: strapi_api_tokens_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.strapi_api_tokens_id_seq', 1, false);


--
-- Name: strapi_core_store_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.strapi_core_store_settings_id_seq', 951, true);


--
-- Name: strapi_database_schema_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.strapi_database_schema_id_seq', 1835, true);


--
-- Name: strapi_migrations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.strapi_migrations_id_seq', 1, false);


--
-- Name: strapi_transfer_token_permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.strapi_transfer_token_permissions_id_seq', 1, false);


--
-- Name: strapi_transfer_token_permissions_token_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.strapi_transfer_token_permissions_token_links_id_seq', 1, false);


--
-- Name: strapi_transfer_tokens_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.strapi_transfer_tokens_id_seq', 1, false);


--
-- Name: strapi_webhooks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.strapi_webhooks_id_seq', 1, false);


--
-- Name: up_permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.up_permissions_id_seq', 320, true);


--
-- Name: up_permissions_role_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.up_permissions_role_links_id_seq', 320, true);


--
-- Name: up_roles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.up_roles_id_seq', 5, true);


--
-- Name: up_users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.up_users_id_seq', 4, true);


--
-- Name: up_users_role_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.up_users_role_links_id_seq', 3, true);


--
-- Name: upload_folders_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.upload_folders_id_seq', 1, false);


--
-- Name: upload_folders_parent_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: root
--

SELECT pg_catalog.setval('public.upload_folders_parent_links_id_seq', 1, false);


--
-- Name: admin_permissions admin_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.admin_permissions
    ADD CONSTRAINT admin_permissions_pkey PRIMARY KEY (id);


--
-- Name: admin_permissions_role_links admin_permissions_role_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.admin_permissions_role_links
    ADD CONSTRAINT admin_permissions_role_links_pkey PRIMARY KEY (id);


--
-- Name: admin_permissions_role_links admin_permissions_role_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.admin_permissions_role_links
    ADD CONSTRAINT admin_permissions_role_links_unique UNIQUE (permission_id, role_id);


--
-- Name: admin_roles admin_roles_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.admin_roles
    ADD CONSTRAINT admin_roles_pkey PRIMARY KEY (id);


--
-- Name: admin_users admin_users_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.admin_users
    ADD CONSTRAINT admin_users_pkey PRIMARY KEY (id);


--
-- Name: admin_users_roles_links admin_users_roles_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.admin_users_roles_links
    ADD CONSTRAINT admin_users_roles_links_pkey PRIMARY KEY (id);


--
-- Name: admin_users_roles_links admin_users_roles_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.admin_users_roles_links
    ADD CONSTRAINT admin_users_roles_links_unique UNIQUE (user_id, role_id);


--
-- Name: agentes_link_refererido_links agentes_link_refererido_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.agentes_link_refererido_links
    ADD CONSTRAINT agentes_link_refererido_links_pkey PRIMARY KEY (id);


--
-- Name: agentes_link_refererido_links agentes_link_refererido_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.agentes_link_refererido_links
    ADD CONSTRAINT agentes_link_refererido_links_unique UNIQUE (agente_id, link_refererido_id);


--
-- Name: agentes agentes_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.agentes
    ADD CONSTRAINT agentes_pkey PRIMARY KEY (id);


--
-- Name: analisis_de_necesidades_datos_adicionales_links analisis_de_necesidades_datos_adicionales_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_adicionales_links
    ADD CONSTRAINT analisis_de_necesidades_datos_adicionales_links_pkey PRIMARY KEY (id);


--
-- Name: analisis_de_necesidades_datos_adicionales_links analisis_de_necesidades_datos_adicionales_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_adicionales_links
    ADD CONSTRAINT analisis_de_necesidades_datos_adicionales_links_unique UNIQUE (analisis_de_necesidad_id, dato_adicional_id);


--
-- Name: analisis_de_necesidades_datos_compromiso_prima_links analisis_de_necesidades_datos_compromiso_prima_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_compromiso_prima_links
    ADD CONSTRAINT analisis_de_necesidades_datos_compromiso_prima_links_pkey PRIMARY KEY (id);


--
-- Name: analisis_de_necesidades_datos_compromiso_prima_links analisis_de_necesidades_datos_compromiso_prima_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_compromiso_prima_links
    ADD CONSTRAINT analisis_de_necesidades_datos_compromiso_prima_links_unique UNIQUE (analisis_de_necesidad_id, dato_compromiso_prima_id);


--
-- Name: analisis_de_necesidades_datos_familiares_links analisis_de_necesidades_datos_familiares_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_familiares_links
    ADD CONSTRAINT analisis_de_necesidades_datos_familiares_links_pkey PRIMARY KEY (id);


--
-- Name: analisis_de_necesidades_datos_familiares_links analisis_de_necesidades_datos_familiares_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_familiares_links
    ADD CONSTRAINT analisis_de_necesidades_datos_familiares_links_unique UNIQUE (analisis_de_necesidad_id, dato_familiar_id);


--
-- Name: analisis_de_necesidades_datos_financieros_links analisis_de_necesidades_datos_financieros_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_financieros_links
    ADD CONSTRAINT analisis_de_necesidades_datos_financieros_links_pkey PRIMARY KEY (id);


--
-- Name: analisis_de_necesidades_datos_financieros_links analisis_de_necesidades_datos_financieros_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_financieros_links
    ADD CONSTRAINT analisis_de_necesidades_datos_financieros_links_unique UNIQUE (analisis_de_necesidad_id, dato_financiero_id);


--
-- Name: analisis_de_necesidades_datos_ingresos_gastos_links analisis_de_necesidades_datos_ingresos_gastos_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_ingresos_gastos_links
    ADD CONSTRAINT analisis_de_necesidades_datos_ingresos_gastos_links_pkey PRIMARY KEY (id);


--
-- Name: analisis_de_necesidades_datos_ingresos_gastos_links analisis_de_necesidades_datos_ingresos_gastos_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_ingresos_gastos_links
    ADD CONSTRAINT analisis_de_necesidades_datos_ingresos_gastos_links_unique UNIQUE (analisis_de_necesidad_id, dato_ingresos_gastos_id);


--
-- Name: analisis_de_necesidades_datos_jubilacion_links analisis_de_necesidades_datos_jubilacion_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_jubilacion_links
    ADD CONSTRAINT analisis_de_necesidades_datos_jubilacion_links_pkey PRIMARY KEY (id);


--
-- Name: analisis_de_necesidades_datos_jubilacion_links analisis_de_necesidades_datos_jubilacion_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_jubilacion_links
    ADD CONSTRAINT analisis_de_necesidades_datos_jubilacion_links_unique UNIQUE (analisis_de_necesidad_id, dato_jubilacion_id);


--
-- Name: analisis_de_necesidades_datos_personales_links analisis_de_necesidades_datos_personales_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_personales_links
    ADD CONSTRAINT analisis_de_necesidades_datos_personales_links_pkey PRIMARY KEY (id);


--
-- Name: analisis_de_necesidades_datos_personales_links analisis_de_necesidades_datos_personales_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_personales_links
    ADD CONSTRAINT analisis_de_necesidades_datos_personales_links_unique UNIQUE (analisis_de_necesidad_id, dato_personal_id);


--
-- Name: analisis_de_necesidades_datos_referidos_cercanos_links analisis_de_necesidades_datos_referidos_cercanos_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_referidos_cercanos_links
    ADD CONSTRAINT analisis_de_necesidades_datos_referidos_cercanos_links_pkey PRIMARY KEY (id);


--
-- Name: analisis_de_necesidades_datos_referidos_cercanos_links analisis_de_necesidades_datos_referidos_cercanos_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_referidos_cercanos_links
    ADD CONSTRAINT analisis_de_necesidades_datos_referidos_cercanos_links_unique UNIQUE (analisis_de_necesidad_id, dato_referidos_cercanos_id);


--
-- Name: analisis_de_necesidades_datos_total_gastos_links analisis_de_necesidades_datos_total_gastos_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_total_gastos_links
    ADD CONSTRAINT analisis_de_necesidades_datos_total_gastos_links_pkey PRIMARY KEY (id);


--
-- Name: analisis_de_necesidades_datos_total_gastos_links analisis_de_necesidades_datos_total_gastos_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_total_gastos_links
    ADD CONSTRAINT analisis_de_necesidades_datos_total_gastos_links_unique UNIQUE (analisis_de_necesidad_id, dato_total_gastos_id);


--
-- Name: analisis_de_necesidades_datos_universitarios_hijos_links analisis_de_necesidades_datos_universitarios_hijos_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_universitarios_hijos_links
    ADD CONSTRAINT analisis_de_necesidades_datos_universitarios_hijos_links_pkey PRIMARY KEY (id);


--
-- Name: analisis_de_necesidades_datos_universitarios_hijos_links analisis_de_necesidades_datos_universitarios_hijos_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_universitarios_hijos_links
    ADD CONSTRAINT analisis_de_necesidades_datos_universitarios_hijos_links_unique UNIQUE (analisis_de_necesidad_id, dato_universitario_hijos_id);


--
-- Name: analisis_de_necesidades analisis_de_necesidades_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades
    ADD CONSTRAINT analisis_de_necesidades_pkey PRIMARY KEY (id);


--
-- Name: datos_academicos_agentes_agente_links datos_academicos_agentes_agente_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_academicos_agentes_agente_links
    ADD CONSTRAINT datos_academicos_agentes_agente_links_pkey PRIMARY KEY (id);


--
-- Name: datos_academicos_agentes_agente_links datos_academicos_agentes_agente_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_academicos_agentes_agente_links
    ADD CONSTRAINT datos_academicos_agentes_agente_links_unique UNIQUE (dato_academico_agente_id, agente_id);


--
-- Name: datos_academicos_agentes datos_academicos_agentes_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_academicos_agentes
    ADD CONSTRAINT datos_academicos_agentes_pkey PRIMARY KEY (id);


--
-- Name: datos_adicionales_persona_links datos_adicionales_persona_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_adicionales_persona_links
    ADD CONSTRAINT datos_adicionales_persona_links_pkey PRIMARY KEY (id);


--
-- Name: datos_adicionales_persona_links datos_adicionales_persona_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_adicionales_persona_links
    ADD CONSTRAINT datos_adicionales_persona_links_unique UNIQUE (dato_adicional_id, persona_id);


--
-- Name: datos_adicionales datos_adicionales_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_adicionales
    ADD CONSTRAINT datos_adicionales_pkey PRIMARY KEY (id);


--
-- Name: datos_bancarios datos_bancarios_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_bancarios
    ADD CONSTRAINT datos_bancarios_pkey PRIMARY KEY (id);


--
-- Name: datos_compromiso_primas_persona_links datos_compromiso_primas_persona_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_compromiso_primas_persona_links
    ADD CONSTRAINT datos_compromiso_primas_persona_links_pkey PRIMARY KEY (id);


--
-- Name: datos_compromiso_primas_persona_links datos_compromiso_primas_persona_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_compromiso_primas_persona_links
    ADD CONSTRAINT datos_compromiso_primas_persona_links_unique UNIQUE (dato_compromiso_prima_id, persona_id);


--
-- Name: datos_compromiso_primas datos_compromiso_primas_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_compromiso_primas
    ADD CONSTRAINT datos_compromiso_primas_pkey PRIMARY KEY (id);


--
-- Name: datos_cuestionario_agentes_agente_links datos_cuestionario_agentes_agente_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_cuestionario_agentes_agente_links
    ADD CONSTRAINT datos_cuestionario_agentes_agente_links_pkey PRIMARY KEY (id);


--
-- Name: datos_cuestionario_agentes_agente_links datos_cuestionario_agentes_agente_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_cuestionario_agentes_agente_links
    ADD CONSTRAINT datos_cuestionario_agentes_agente_links_unique UNIQUE (dato_cuestionario_agente_id, agente_id);


--
-- Name: datos_cuestionario_agentes datos_cuestionario_agentes_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_cuestionario_agentes
    ADD CONSTRAINT datos_cuestionario_agentes_pkey PRIMARY KEY (id);


--
-- Name: datos_entorno_angetes_agente_links datos_entorno_angetes_agente_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_entorno_angetes_agente_links
    ADD CONSTRAINT datos_entorno_angetes_agente_links_pkey PRIMARY KEY (id);


--
-- Name: datos_entorno_angetes_agente_links datos_entorno_angetes_agente_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_entorno_angetes_agente_links
    ADD CONSTRAINT datos_entorno_angetes_agente_links_unique UNIQUE (dato_entorno_angete_id, agente_id);


--
-- Name: datos_entorno_angetes datos_entorno_angetes_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_entorno_angetes
    ADD CONSTRAINT datos_entorno_angetes_pkey PRIMARY KEY (id);


--
-- Name: datos_familiares_persona_links datos_familiares_persona_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_familiares_persona_links
    ADD CONSTRAINT datos_familiares_persona_links_pkey PRIMARY KEY (id);


--
-- Name: datos_familiares_persona_links datos_familiares_persona_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_familiares_persona_links
    ADD CONSTRAINT datos_familiares_persona_links_unique UNIQUE (dato_familiar_id, persona_id);


--
-- Name: datos_familiares datos_familiares_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_familiares
    ADD CONSTRAINT datos_familiares_pkey PRIMARY KEY (id);


--
-- Name: datos_femeninos datos_femeninos_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_femeninos
    ADD CONSTRAINT datos_femeninos_pkey PRIMARY KEY (id);


--
-- Name: datos_financieros_persona_links datos_financieros_persona_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_financieros_persona_links
    ADD CONSTRAINT datos_financieros_persona_links_pkey PRIMARY KEY (id);


--
-- Name: datos_financieros_persona_links datos_financieros_persona_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_financieros_persona_links
    ADD CONSTRAINT datos_financieros_persona_links_unique UNIQUE (dato_financiero_id, persona_id);


--
-- Name: datos_financieros datos_financieros_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_financieros
    ADD CONSTRAINT datos_financieros_pkey PRIMARY KEY (id);


--
-- Name: datos_ingresos_gastos_persona_links datos_ingresos_gastos_persona_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_ingresos_gastos_persona_links
    ADD CONSTRAINT datos_ingresos_gastos_persona_links_pkey PRIMARY KEY (id);


--
-- Name: datos_ingresos_gastos_persona_links datos_ingresos_gastos_persona_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_ingresos_gastos_persona_links
    ADD CONSTRAINT datos_ingresos_gastos_persona_links_unique UNIQUE (dato_ingresos_gastos_id, persona_id);


--
-- Name: datos_ingresos_gastos datos_ingresos_gastos_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_ingresos_gastos
    ADD CONSTRAINT datos_ingresos_gastos_pkey PRIMARY KEY (id);


--
-- Name: datos_jubilacion_persona_links datos_jubilacion_persona_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_jubilacion_persona_links
    ADD CONSTRAINT datos_jubilacion_persona_links_pkey PRIMARY KEY (id);


--
-- Name: datos_jubilacion_persona_links datos_jubilacion_persona_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_jubilacion_persona_links
    ADD CONSTRAINT datos_jubilacion_persona_links_unique UNIQUE (dato_jubilacion_id, persona_id);


--
-- Name: datos_jubilacion datos_jubilacion_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_jubilacion
    ADD CONSTRAINT datos_jubilacion_pkey PRIMARY KEY (id);


--
-- Name: datos_laborales_agentes_agente_links datos_laborales_agentes_agente_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_laborales_agentes_agente_links
    ADD CONSTRAINT datos_laborales_agentes_agente_links_pkey PRIMARY KEY (id);


--
-- Name: datos_laborales_agentes_agente_links datos_laborales_agentes_agente_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_laborales_agentes_agente_links
    ADD CONSTRAINT datos_laborales_agentes_agente_links_unique UNIQUE (dato_laboral_agente_id, agente_id);


--
-- Name: datos_laborales_agentes datos_laborales_agentes_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_laborales_agentes
    ADD CONSTRAINT datos_laborales_agentes_pkey PRIMARY KEY (id);


--
-- Name: datos_laborales datos_laborales_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_laborales
    ADD CONSTRAINT datos_laborales_pkey PRIMARY KEY (id);


--
-- Name: datos_opiniones_laborales_agentes_agente_links datos_opiniones_laborales_agentes_agente_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_opiniones_laborales_agentes_agente_links
    ADD CONSTRAINT datos_opiniones_laborales_agentes_agente_links_pkey PRIMARY KEY (id);


--
-- Name: datos_opiniones_laborales_agentes_agente_links datos_opiniones_laborales_agentes_agente_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_opiniones_laborales_agentes_agente_links
    ADD CONSTRAINT datos_opiniones_laborales_agentes_agente_links_unique UNIQUE (dato_opinion_laboral_agente_id, agente_id);


--
-- Name: datos_opiniones_laborales_agentes datos_opiniones_laborales_agentes_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_opiniones_laborales_agentes
    ADD CONSTRAINT datos_opiniones_laborales_agentes_pkey PRIMARY KEY (id);


--
-- Name: datos_otros_seguros datos_otros_seguros_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_otros_seguros
    ADD CONSTRAINT datos_otros_seguros_pkey PRIMARY KEY (id);


--
-- Name: datos_parientes datos_parientes_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_parientes
    ADD CONSTRAINT datos_parientes_pkey PRIMARY KEY (id);


--
-- Name: datos_personales_agentes_agente_links datos_personales_agentes_agente_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_personales_agentes_agente_links
    ADD CONSTRAINT datos_personales_agentes_agente_links_pkey PRIMARY KEY (id);


--
-- Name: datos_personales_agentes_agente_links datos_personales_agentes_agente_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_personales_agentes_agente_links
    ADD CONSTRAINT datos_personales_agentes_agente_links_unique UNIQUE (dato_personal_agente_id, agente_id);


--
-- Name: datos_personales_agentes datos_personales_agentes_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_personales_agentes
    ADD CONSTRAINT datos_personales_agentes_pkey PRIMARY KEY (id);


--
-- Name: datos_personales datos_personales_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_personales
    ADD CONSTRAINT datos_personales_pkey PRIMARY KEY (id);


--
-- Name: datos_referencias_comerciales_agentes_agente_links datos_referencias_comerciales_agentes_agente_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_referencias_comerciales_agentes_agente_links
    ADD CONSTRAINT datos_referencias_comerciales_agentes_agente_links_pkey PRIMARY KEY (id);


--
-- Name: datos_referencias_comerciales_agentes_agente_links datos_referencias_comerciales_agentes_agente_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_referencias_comerciales_agentes_agente_links
    ADD CONSTRAINT datos_referencias_comerciales_agentes_agente_links_unique UNIQUE (dato_referencia_comercial_agente_id, agente_id);


--
-- Name: datos_referencias_comerciales_agentes datos_referencias_comerciales_agentes_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_referencias_comerciales_agentes
    ADD CONSTRAINT datos_referencias_comerciales_agentes_pkey PRIMARY KEY (id);


--
-- Name: datos_referidos_cercanos_persona_links datos_referidos_cercanos_persona_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_referidos_cercanos_persona_links
    ADD CONSTRAINT datos_referidos_cercanos_persona_links_pkey PRIMARY KEY (id);


--
-- Name: datos_referidos_cercanos_persona_links datos_referidos_cercanos_persona_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_referidos_cercanos_persona_links
    ADD CONSTRAINT datos_referidos_cercanos_persona_links_unique UNIQUE (dato_referidos_cercanos_id, persona_id);


--
-- Name: datos_referidos_cercanos datos_referidos_cercanos_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_referidos_cercanos
    ADD CONSTRAINT datos_referidos_cercanos_pkey PRIMARY KEY (id);


--
-- Name: datos_saluds datos_saluds_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_saluds
    ADD CONSTRAINT datos_saluds_pkey PRIMARY KEY (id);


--
-- Name: datos_terceros datos_terceros_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_terceros
    ADD CONSTRAINT datos_terceros_pkey PRIMARY KEY (id);


--
-- Name: datos_total_gastos_persona_links datos_total_gastos_persona_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_total_gastos_persona_links
    ADD CONSTRAINT datos_total_gastos_persona_links_pkey PRIMARY KEY (id);


--
-- Name: datos_total_gastos_persona_links datos_total_gastos_persona_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_total_gastos_persona_links
    ADD CONSTRAINT datos_total_gastos_persona_links_unique UNIQUE (dato_total_gastos_id, persona_id);


--
-- Name: datos_total_gastos datos_total_gastos_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_total_gastos
    ADD CONSTRAINT datos_total_gastos_pkey PRIMARY KEY (id);


--
-- Name: datos_universitarios_hijos_persona_links datos_universitarios_hijos_persona_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_universitarios_hijos_persona_links
    ADD CONSTRAINT datos_universitarios_hijos_persona_links_pkey PRIMARY KEY (id);


--
-- Name: datos_universitarios_hijos_persona_links datos_universitarios_hijos_persona_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_universitarios_hijos_persona_links
    ADD CONSTRAINT datos_universitarios_hijos_persona_links_unique UNIQUE (dato_universitario_hijos_id, persona_id);


--
-- Name: datos_universitarios_hijos datos_universitarios_hijos_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_universitarios_hijos
    ADD CONSTRAINT datos_universitarios_hijos_pkey PRIMARY KEY (id);


--
-- Name: estadisticas_referidos_link_refererido_links estadisticas_referidos_link_refererido_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.estadisticas_referidos_link_refererido_links
    ADD CONSTRAINT estadisticas_referidos_link_refererido_links_pkey PRIMARY KEY (id);


--
-- Name: estadisticas_referidos_link_refererido_links estadisticas_referidos_link_refererido_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.estadisticas_referidos_link_refererido_links
    ADD CONSTRAINT estadisticas_referidos_link_refererido_links_unique UNIQUE (estadistica_referido_id, link_refererido_id);


--
-- Name: estadisticas_referidos estadisticas_referidos_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.estadisticas_referidos
    ADD CONSTRAINT estadisticas_referidos_pkey PRIMARY KEY (id);


--
-- Name: files_folder_links files_folder_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.files_folder_links
    ADD CONSTRAINT files_folder_links_pkey PRIMARY KEY (id);


--
-- Name: files_folder_links files_folder_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.files_folder_links
    ADD CONSTRAINT files_folder_links_unique UNIQUE (file_id, folder_id);


--
-- Name: files files_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.files
    ADD CONSTRAINT files_pkey PRIMARY KEY (id);


--
-- Name: files_related_morphs files_related_morphs_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.files_related_morphs
    ADD CONSTRAINT files_related_morphs_pkey PRIMARY KEY (id);


--
-- Name: i18n_locale i18n_locale_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.i18n_locale
    ADD CONSTRAINT i18n_locale_pkey PRIMARY KEY (id);


--
-- Name: links_refereridos links_refereridos_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.links_refereridos
    ADD CONSTRAINT links_refereridos_pkey PRIMARY KEY (id);


--
-- Name: personas_datos_bancarios_links personas_datos_bancarios_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_bancarios_links
    ADD CONSTRAINT personas_datos_bancarios_links_pkey PRIMARY KEY (id);


--
-- Name: personas_datos_bancarios_links personas_datos_bancarios_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_bancarios_links
    ADD CONSTRAINT personas_datos_bancarios_links_unique UNIQUE (persona_id, dato_bancario_id);


--
-- Name: personas_datos_femeninos_links personas_datos_femeninos_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_femeninos_links
    ADD CONSTRAINT personas_datos_femeninos_links_pkey PRIMARY KEY (id);


--
-- Name: personas_datos_femeninos_links personas_datos_femeninos_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_femeninos_links
    ADD CONSTRAINT personas_datos_femeninos_links_unique UNIQUE (persona_id, dato_femenino_id);


--
-- Name: personas_datos_laborales_links personas_datos_laborales_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_laborales_links
    ADD CONSTRAINT personas_datos_laborales_links_pkey PRIMARY KEY (id);


--
-- Name: personas_datos_laborales_links personas_datos_laborales_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_laborales_links
    ADD CONSTRAINT personas_datos_laborales_links_unique UNIQUE (persona_id, dato_laboral_id);


--
-- Name: personas_datos_otros_seguros_links personas_datos_otros_seguros_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_otros_seguros_links
    ADD CONSTRAINT personas_datos_otros_seguros_links_pkey PRIMARY KEY (id);


--
-- Name: personas_datos_otros_seguros_links personas_datos_otros_seguros_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_otros_seguros_links
    ADD CONSTRAINT personas_datos_otros_seguros_links_unique UNIQUE (persona_id, dato_otros_seguros_id);


--
-- Name: personas_datos_parientes_links personas_datos_parientes_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_parientes_links
    ADD CONSTRAINT personas_datos_parientes_links_pkey PRIMARY KEY (id);


--
-- Name: personas_datos_parientes_links personas_datos_parientes_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_parientes_links
    ADD CONSTRAINT personas_datos_parientes_links_unique UNIQUE (persona_id, dato_parientes_id);


--
-- Name: personas_datos_personale_links personas_datos_personale_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_personale_links
    ADD CONSTRAINT personas_datos_personale_links_pkey PRIMARY KEY (id);


--
-- Name: personas_datos_personale_links personas_datos_personale_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_personale_links
    ADD CONSTRAINT personas_datos_personale_links_unique UNIQUE (persona_id, dato_personal_id);


--
-- Name: personas_datos_salud_links personas_datos_salud_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_salud_links
    ADD CONSTRAINT personas_datos_salud_links_pkey PRIMARY KEY (id);


--
-- Name: personas_datos_salud_links personas_datos_salud_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_salud_links
    ADD CONSTRAINT personas_datos_salud_links_unique UNIQUE (persona_id, datos_salud_id);


--
-- Name: personas_datos_tercero_links personas_datos_tercero_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_tercero_links
    ADD CONSTRAINT personas_datos_tercero_links_pkey PRIMARY KEY (id);


--
-- Name: personas_datos_tercero_links personas_datos_tercero_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_tercero_links
    ADD CONSTRAINT personas_datos_tercero_links_unique UNIQUE (persona_id, dato_terceros_id);


--
-- Name: personas_link_refererido_links personas_link_refererido_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_link_refererido_links
    ADD CONSTRAINT personas_link_refererido_links_pkey PRIMARY KEY (id);


--
-- Name: personas_link_refererido_links personas_link_refererido_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_link_refererido_links
    ADD CONSTRAINT personas_link_refererido_links_unique UNIQUE (persona_id, link_refererido_id);


--
-- Name: personas personas_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas
    ADD CONSTRAINT personas_pkey PRIMARY KEY (id);


--
-- Name: solicitudes_datos_bancarios_links solicitudes_datos_bancarios_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_bancarios_links
    ADD CONSTRAINT solicitudes_datos_bancarios_links_pkey PRIMARY KEY (id);


--
-- Name: solicitudes_datos_bancarios_links solicitudes_datos_bancarios_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_bancarios_links
    ADD CONSTRAINT solicitudes_datos_bancarios_links_unique UNIQUE (solicitud_id, dato_bancario_id);


--
-- Name: solicitudes_datos_femeninos_links solicitudes_datos_femeninos_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_femeninos_links
    ADD CONSTRAINT solicitudes_datos_femeninos_links_pkey PRIMARY KEY (id);


--
-- Name: solicitudes_datos_femeninos_links solicitudes_datos_femeninos_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_femeninos_links
    ADD CONSTRAINT solicitudes_datos_femeninos_links_unique UNIQUE (solicitud_id, dato_femenino_id);


--
-- Name: solicitudes_datos_laborales_links solicitudes_datos_laborales_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_laborales_links
    ADD CONSTRAINT solicitudes_datos_laborales_links_pkey PRIMARY KEY (id);


--
-- Name: solicitudes_datos_laborales_links solicitudes_datos_laborales_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_laborales_links
    ADD CONSTRAINT solicitudes_datos_laborales_links_unique UNIQUE (solicitud_id, dato_laboral_id);


--
-- Name: solicitudes_datos_otros_seguros_links solicitudes_datos_otros_seguros_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_otros_seguros_links
    ADD CONSTRAINT solicitudes_datos_otros_seguros_links_pkey PRIMARY KEY (id);


--
-- Name: solicitudes_datos_otros_seguros_links solicitudes_datos_otros_seguros_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_otros_seguros_links
    ADD CONSTRAINT solicitudes_datos_otros_seguros_links_unique UNIQUE (solicitud_id, dato_otros_seguros_id);


--
-- Name: solicitudes_datos_parientes_links solicitudes_datos_parientes_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_parientes_links
    ADD CONSTRAINT solicitudes_datos_parientes_links_pkey PRIMARY KEY (id);


--
-- Name: solicitudes_datos_parientes_links solicitudes_datos_parientes_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_parientes_links
    ADD CONSTRAINT solicitudes_datos_parientes_links_unique UNIQUE (solicitud_id, dato_parientes_id);


--
-- Name: solicitudes_datos_personales_links solicitudes_datos_personales_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_personales_links
    ADD CONSTRAINT solicitudes_datos_personales_links_pkey PRIMARY KEY (id);


--
-- Name: solicitudes_datos_personales_links solicitudes_datos_personales_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_personales_links
    ADD CONSTRAINT solicitudes_datos_personales_links_unique UNIQUE (solicitud_id, dato_personal_id);


--
-- Name: solicitudes_datos_salud_links solicitudes_datos_salud_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_salud_links
    ADD CONSTRAINT solicitudes_datos_salud_links_pkey PRIMARY KEY (id);


--
-- Name: solicitudes_datos_salud_links solicitudes_datos_salud_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_salud_links
    ADD CONSTRAINT solicitudes_datos_salud_links_unique UNIQUE (solicitud_id, datos_salud_id);


--
-- Name: solicitudes_datos_terceros_links solicitudes_datos_terceros_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_terceros_links
    ADD CONSTRAINT solicitudes_datos_terceros_links_pkey PRIMARY KEY (id);


--
-- Name: solicitudes_datos_terceros_links solicitudes_datos_terceros_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_terceros_links
    ADD CONSTRAINT solicitudes_datos_terceros_links_unique UNIQUE (solicitud_id, dato_terceros_id);


--
-- Name: solicitudes solicitudes_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes
    ADD CONSTRAINT solicitudes_pkey PRIMARY KEY (id);


--
-- Name: strapi_api_token_permissions strapi_api_token_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_api_token_permissions
    ADD CONSTRAINT strapi_api_token_permissions_pkey PRIMARY KEY (id);


--
-- Name: strapi_api_token_permissions_token_links strapi_api_token_permissions_token_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_api_token_permissions_token_links
    ADD CONSTRAINT strapi_api_token_permissions_token_links_pkey PRIMARY KEY (id);


--
-- Name: strapi_api_token_permissions_token_links strapi_api_token_permissions_token_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_api_token_permissions_token_links
    ADD CONSTRAINT strapi_api_token_permissions_token_links_unique UNIQUE (api_token_permission_id, api_token_id);


--
-- Name: strapi_api_tokens strapi_api_tokens_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_api_tokens
    ADD CONSTRAINT strapi_api_tokens_pkey PRIMARY KEY (id);


--
-- Name: strapi_core_store_settings strapi_core_store_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_core_store_settings
    ADD CONSTRAINT strapi_core_store_settings_pkey PRIMARY KEY (id);


--
-- Name: strapi_database_schema strapi_database_schema_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_database_schema
    ADD CONSTRAINT strapi_database_schema_pkey PRIMARY KEY (id);


--
-- Name: strapi_migrations strapi_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_migrations
    ADD CONSTRAINT strapi_migrations_pkey PRIMARY KEY (id);


--
-- Name: strapi_transfer_token_permissions strapi_transfer_token_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_transfer_token_permissions
    ADD CONSTRAINT strapi_transfer_token_permissions_pkey PRIMARY KEY (id);


--
-- Name: strapi_transfer_token_permissions_token_links strapi_transfer_token_permissions_token_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_transfer_token_permissions_token_links
    ADD CONSTRAINT strapi_transfer_token_permissions_token_links_pkey PRIMARY KEY (id);


--
-- Name: strapi_transfer_token_permissions_token_links strapi_transfer_token_permissions_token_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_transfer_token_permissions_token_links
    ADD CONSTRAINT strapi_transfer_token_permissions_token_links_unique UNIQUE (transfer_token_permission_id, transfer_token_id);


--
-- Name: strapi_transfer_tokens strapi_transfer_tokens_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_transfer_tokens
    ADD CONSTRAINT strapi_transfer_tokens_pkey PRIMARY KEY (id);


--
-- Name: strapi_webhooks strapi_webhooks_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_webhooks
    ADD CONSTRAINT strapi_webhooks_pkey PRIMARY KEY (id);


--
-- Name: up_permissions up_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.up_permissions
    ADD CONSTRAINT up_permissions_pkey PRIMARY KEY (id);


--
-- Name: up_permissions_role_links up_permissions_role_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.up_permissions_role_links
    ADD CONSTRAINT up_permissions_role_links_pkey PRIMARY KEY (id);


--
-- Name: up_permissions_role_links up_permissions_role_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.up_permissions_role_links
    ADD CONSTRAINT up_permissions_role_links_unique UNIQUE (permission_id, role_id);


--
-- Name: up_roles up_roles_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.up_roles
    ADD CONSTRAINT up_roles_pkey PRIMARY KEY (id);


--
-- Name: up_users up_users_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.up_users
    ADD CONSTRAINT up_users_pkey PRIMARY KEY (id);


--
-- Name: up_users_role_links up_users_role_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.up_users_role_links
    ADD CONSTRAINT up_users_role_links_pkey PRIMARY KEY (id);


--
-- Name: up_users_role_links up_users_role_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.up_users_role_links
    ADD CONSTRAINT up_users_role_links_unique UNIQUE (user_id, role_id);


--
-- Name: upload_folders_parent_links upload_folders_parent_links_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.upload_folders_parent_links
    ADD CONSTRAINT upload_folders_parent_links_pkey PRIMARY KEY (id);


--
-- Name: upload_folders_parent_links upload_folders_parent_links_unique; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.upload_folders_parent_links
    ADD CONSTRAINT upload_folders_parent_links_unique UNIQUE (folder_id, inv_folder_id);


--
-- Name: upload_folders upload_folders_path_id_index; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.upload_folders
    ADD CONSTRAINT upload_folders_path_id_index UNIQUE (path_id);


--
-- Name: upload_folders upload_folders_path_index; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.upload_folders
    ADD CONSTRAINT upload_folders_path_index UNIQUE (path);


--
-- Name: upload_folders upload_folders_pkey; Type: CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.upload_folders
    ADD CONSTRAINT upload_folders_pkey PRIMARY KEY (id);


--
-- Name: admin_permissions_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX admin_permissions_created_by_id_fk ON public.admin_permissions USING btree (created_by_id);


--
-- Name: admin_permissions_role_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX admin_permissions_role_links_fk ON public.admin_permissions_role_links USING btree (permission_id);


--
-- Name: admin_permissions_role_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX admin_permissions_role_links_inv_fk ON public.admin_permissions_role_links USING btree (role_id);


--
-- Name: admin_permissions_role_links_order_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX admin_permissions_role_links_order_inv_fk ON public.admin_permissions_role_links USING btree (permission_order);


--
-- Name: admin_permissions_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX admin_permissions_updated_by_id_fk ON public.admin_permissions USING btree (updated_by_id);


--
-- Name: admin_roles_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX admin_roles_created_by_id_fk ON public.admin_roles USING btree (created_by_id);


--
-- Name: admin_roles_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX admin_roles_updated_by_id_fk ON public.admin_roles USING btree (updated_by_id);


--
-- Name: admin_users_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX admin_users_created_by_id_fk ON public.admin_users USING btree (created_by_id);


--
-- Name: admin_users_roles_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX admin_users_roles_links_fk ON public.admin_users_roles_links USING btree (user_id);


--
-- Name: admin_users_roles_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX admin_users_roles_links_inv_fk ON public.admin_users_roles_links USING btree (role_id);


--
-- Name: admin_users_roles_links_order_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX admin_users_roles_links_order_fk ON public.admin_users_roles_links USING btree (role_order);


--
-- Name: admin_users_roles_links_order_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX admin_users_roles_links_order_inv_fk ON public.admin_users_roles_links USING btree (user_order);


--
-- Name: admin_users_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX admin_users_updated_by_id_fk ON public.admin_users USING btree (updated_by_id);


--
-- Name: agentes_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX agentes_created_by_id_fk ON public.agentes USING btree (created_by_id);


--
-- Name: agentes_link_refererido_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX agentes_link_refererido_links_fk ON public.agentes_link_refererido_links USING btree (agente_id);


--
-- Name: agentes_link_refererido_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX agentes_link_refererido_links_inv_fk ON public.agentes_link_refererido_links USING btree (link_refererido_id);


--
-- Name: agentes_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX agentes_updated_by_id_fk ON public.agentes USING btree (updated_by_id);


--
-- Name: analisis_de_necesidades_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_created_by_id_fk ON public.analisis_de_necesidades USING btree (created_by_id);


--
-- Name: analisis_de_necesidades_datos_adicionales_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_adicionales_links_fk ON public.analisis_de_necesidades_datos_adicionales_links USING btree (analisis_de_necesidad_id);


--
-- Name: analisis_de_necesidades_datos_adicionales_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_adicionales_links_inv_fk ON public.analisis_de_necesidades_datos_adicionales_links USING btree (dato_adicional_id);


--
-- Name: analisis_de_necesidades_datos_compromiso_prima_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_compromiso_prima_links_fk ON public.analisis_de_necesidades_datos_compromiso_prima_links USING btree (analisis_de_necesidad_id);


--
-- Name: analisis_de_necesidades_datos_compromiso_prima_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_compromiso_prima_links_inv_fk ON public.analisis_de_necesidades_datos_compromiso_prima_links USING btree (dato_compromiso_prima_id);


--
-- Name: analisis_de_necesidades_datos_familiares_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_familiares_links_fk ON public.analisis_de_necesidades_datos_familiares_links USING btree (analisis_de_necesidad_id);


--
-- Name: analisis_de_necesidades_datos_familiares_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_familiares_links_inv_fk ON public.analisis_de_necesidades_datos_familiares_links USING btree (dato_familiar_id);


--
-- Name: analisis_de_necesidades_datos_financieros_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_financieros_links_fk ON public.analisis_de_necesidades_datos_financieros_links USING btree (analisis_de_necesidad_id);


--
-- Name: analisis_de_necesidades_datos_financieros_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_financieros_links_inv_fk ON public.analisis_de_necesidades_datos_financieros_links USING btree (dato_financiero_id);


--
-- Name: analisis_de_necesidades_datos_ingresos_gastos_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_ingresos_gastos_links_fk ON public.analisis_de_necesidades_datos_ingresos_gastos_links USING btree (analisis_de_necesidad_id);


--
-- Name: analisis_de_necesidades_datos_ingresos_gastos_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_ingresos_gastos_links_inv_fk ON public.analisis_de_necesidades_datos_ingresos_gastos_links USING btree (dato_ingresos_gastos_id);


--
-- Name: analisis_de_necesidades_datos_jubilacion_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_jubilacion_links_fk ON public.analisis_de_necesidades_datos_jubilacion_links USING btree (analisis_de_necesidad_id);


--
-- Name: analisis_de_necesidades_datos_jubilacion_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_jubilacion_links_inv_fk ON public.analisis_de_necesidades_datos_jubilacion_links USING btree (dato_jubilacion_id);


--
-- Name: analisis_de_necesidades_datos_personales_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_personales_links_fk ON public.analisis_de_necesidades_datos_personales_links USING btree (analisis_de_necesidad_id);


--
-- Name: analisis_de_necesidades_datos_personales_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_personales_links_inv_fk ON public.analisis_de_necesidades_datos_personales_links USING btree (dato_personal_id);


--
-- Name: analisis_de_necesidades_datos_referidos_cercanos_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_referidos_cercanos_links_fk ON public.analisis_de_necesidades_datos_referidos_cercanos_links USING btree (analisis_de_necesidad_id);


--
-- Name: analisis_de_necesidades_datos_referidos_cercanos_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_referidos_cercanos_links_inv_fk ON public.analisis_de_necesidades_datos_referidos_cercanos_links USING btree (dato_referidos_cercanos_id);


--
-- Name: analisis_de_necesidades_datos_total_gastos_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_total_gastos_links_fk ON public.analisis_de_necesidades_datos_total_gastos_links USING btree (analisis_de_necesidad_id);


--
-- Name: analisis_de_necesidades_datos_total_gastos_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_total_gastos_links_inv_fk ON public.analisis_de_necesidades_datos_total_gastos_links USING btree (dato_total_gastos_id);


--
-- Name: analisis_de_necesidades_datos_universitarios_hijos_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_universitarios_hijos_links_fk ON public.analisis_de_necesidades_datos_universitarios_hijos_links USING btree (analisis_de_necesidad_id);


--
-- Name: analisis_de_necesidades_datos_universitarios_hijos_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_datos_universitarios_hijos_links_inv_fk ON public.analisis_de_necesidades_datos_universitarios_hijos_links USING btree (dato_universitario_hijos_id);


--
-- Name: analisis_de_necesidades_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX analisis_de_necesidades_updated_by_id_fk ON public.analisis_de_necesidades USING btree (updated_by_id);


--
-- Name: datos_academicos_agentes_agente_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_academicos_agentes_agente_links_fk ON public.datos_academicos_agentes_agente_links USING btree (dato_academico_agente_id);


--
-- Name: datos_academicos_agentes_agente_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_academicos_agentes_agente_links_inv_fk ON public.datos_academicos_agentes_agente_links USING btree (agente_id);


--
-- Name: datos_academicos_agentes_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_academicos_agentes_created_by_id_fk ON public.datos_academicos_agentes USING btree (created_by_id);


--
-- Name: datos_academicos_agentes_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_academicos_agentes_updated_by_id_fk ON public.datos_academicos_agentes USING btree (updated_by_id);


--
-- Name: datos_adicionales_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_adicionales_created_by_id_fk ON public.datos_adicionales USING btree (created_by_id);


--
-- Name: datos_adicionales_persona_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_adicionales_persona_links_fk ON public.datos_adicionales_persona_links USING btree (dato_adicional_id);


--
-- Name: datos_adicionales_persona_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_adicionales_persona_links_inv_fk ON public.datos_adicionales_persona_links USING btree (persona_id);


--
-- Name: datos_adicionales_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_adicionales_updated_by_id_fk ON public.datos_adicionales USING btree (updated_by_id);


--
-- Name: datos_bancarios_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_bancarios_created_by_id_fk ON public.datos_bancarios USING btree (created_by_id);


--
-- Name: datos_bancarios_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_bancarios_updated_by_id_fk ON public.datos_bancarios USING btree (updated_by_id);


--
-- Name: datos_compromiso_primas_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_compromiso_primas_created_by_id_fk ON public.datos_compromiso_primas USING btree (created_by_id);


--
-- Name: datos_compromiso_primas_persona_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_compromiso_primas_persona_links_fk ON public.datos_compromiso_primas_persona_links USING btree (dato_compromiso_prima_id);


--
-- Name: datos_compromiso_primas_persona_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_compromiso_primas_persona_links_inv_fk ON public.datos_compromiso_primas_persona_links USING btree (persona_id);


--
-- Name: datos_compromiso_primas_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_compromiso_primas_updated_by_id_fk ON public.datos_compromiso_primas USING btree (updated_by_id);


--
-- Name: datos_cuestionario_agentes_agente_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_cuestionario_agentes_agente_links_fk ON public.datos_cuestionario_agentes_agente_links USING btree (dato_cuestionario_agente_id);


--
-- Name: datos_cuestionario_agentes_agente_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_cuestionario_agentes_agente_links_inv_fk ON public.datos_cuestionario_agentes_agente_links USING btree (agente_id);


--
-- Name: datos_cuestionario_agentes_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_cuestionario_agentes_created_by_id_fk ON public.datos_cuestionario_agentes USING btree (created_by_id);


--
-- Name: datos_cuestionario_agentes_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_cuestionario_agentes_updated_by_id_fk ON public.datos_cuestionario_agentes USING btree (updated_by_id);


--
-- Name: datos_entorno_angetes_agente_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_entorno_angetes_agente_links_fk ON public.datos_entorno_angetes_agente_links USING btree (dato_entorno_angete_id);


--
-- Name: datos_entorno_angetes_agente_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_entorno_angetes_agente_links_inv_fk ON public.datos_entorno_angetes_agente_links USING btree (agente_id);


--
-- Name: datos_entorno_angetes_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_entorno_angetes_created_by_id_fk ON public.datos_entorno_angetes USING btree (created_by_id);


--
-- Name: datos_entorno_angetes_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_entorno_angetes_updated_by_id_fk ON public.datos_entorno_angetes USING btree (updated_by_id);


--
-- Name: datos_familiares_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_familiares_created_by_id_fk ON public.datos_familiares USING btree (created_by_id);


--
-- Name: datos_familiares_persona_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_familiares_persona_links_fk ON public.datos_familiares_persona_links USING btree (dato_familiar_id);


--
-- Name: datos_familiares_persona_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_familiares_persona_links_inv_fk ON public.datos_familiares_persona_links USING btree (persona_id);


--
-- Name: datos_familiares_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_familiares_updated_by_id_fk ON public.datos_familiares USING btree (updated_by_id);


--
-- Name: datos_femeninos_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_femeninos_created_by_id_fk ON public.datos_femeninos USING btree (created_by_id);


--
-- Name: datos_femeninos_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_femeninos_updated_by_id_fk ON public.datos_femeninos USING btree (updated_by_id);


--
-- Name: datos_financieros_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_financieros_created_by_id_fk ON public.datos_financieros USING btree (created_by_id);


--
-- Name: datos_financieros_persona_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_financieros_persona_links_fk ON public.datos_financieros_persona_links USING btree (dato_financiero_id);


--
-- Name: datos_financieros_persona_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_financieros_persona_links_inv_fk ON public.datos_financieros_persona_links USING btree (persona_id);


--
-- Name: datos_financieros_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_financieros_updated_by_id_fk ON public.datos_financieros USING btree (updated_by_id);


--
-- Name: datos_ingresos_gastos_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_ingresos_gastos_created_by_id_fk ON public.datos_ingresos_gastos USING btree (created_by_id);


--
-- Name: datos_ingresos_gastos_persona_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_ingresos_gastos_persona_links_fk ON public.datos_ingresos_gastos_persona_links USING btree (dato_ingresos_gastos_id);


--
-- Name: datos_ingresos_gastos_persona_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_ingresos_gastos_persona_links_inv_fk ON public.datos_ingresos_gastos_persona_links USING btree (persona_id);


--
-- Name: datos_ingresos_gastos_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_ingresos_gastos_updated_by_id_fk ON public.datos_ingresos_gastos USING btree (updated_by_id);


--
-- Name: datos_jubilacion_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_jubilacion_created_by_id_fk ON public.datos_jubilacion USING btree (created_by_id);


--
-- Name: datos_jubilacion_persona_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_jubilacion_persona_links_fk ON public.datos_jubilacion_persona_links USING btree (dato_jubilacion_id);


--
-- Name: datos_jubilacion_persona_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_jubilacion_persona_links_inv_fk ON public.datos_jubilacion_persona_links USING btree (persona_id);


--
-- Name: datos_jubilacion_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_jubilacion_updated_by_id_fk ON public.datos_jubilacion USING btree (updated_by_id);


--
-- Name: datos_laborales_agentes_agente_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_laborales_agentes_agente_links_fk ON public.datos_laborales_agentes_agente_links USING btree (dato_laboral_agente_id);


--
-- Name: datos_laborales_agentes_agente_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_laborales_agentes_agente_links_inv_fk ON public.datos_laborales_agentes_agente_links USING btree (agente_id);


--
-- Name: datos_laborales_agentes_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_laborales_agentes_created_by_id_fk ON public.datos_laborales_agentes USING btree (created_by_id);


--
-- Name: datos_laborales_agentes_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_laborales_agentes_updated_by_id_fk ON public.datos_laborales_agentes USING btree (updated_by_id);


--
-- Name: datos_laborales_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_laborales_created_by_id_fk ON public.datos_laborales USING btree (created_by_id);


--
-- Name: datos_laborales_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_laborales_updated_by_id_fk ON public.datos_laborales USING btree (updated_by_id);


--
-- Name: datos_opiniones_laborales_agentes_agente_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_opiniones_laborales_agentes_agente_links_fk ON public.datos_opiniones_laborales_agentes_agente_links USING btree (dato_opinion_laboral_agente_id);


--
-- Name: datos_opiniones_laborales_agentes_agente_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_opiniones_laborales_agentes_agente_links_inv_fk ON public.datos_opiniones_laborales_agentes_agente_links USING btree (agente_id);


--
-- Name: datos_opiniones_laborales_agentes_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_opiniones_laborales_agentes_created_by_id_fk ON public.datos_opiniones_laborales_agentes USING btree (created_by_id);


--
-- Name: datos_opiniones_laborales_agentes_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_opiniones_laborales_agentes_updated_by_id_fk ON public.datos_opiniones_laborales_agentes USING btree (updated_by_id);


--
-- Name: datos_otros_seguros_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_otros_seguros_created_by_id_fk ON public.datos_otros_seguros USING btree (created_by_id);


--
-- Name: datos_otros_seguros_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_otros_seguros_updated_by_id_fk ON public.datos_otros_seguros USING btree (updated_by_id);


--
-- Name: datos_parientes_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_parientes_created_by_id_fk ON public.datos_parientes USING btree (created_by_id);


--
-- Name: datos_parientes_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_parientes_updated_by_id_fk ON public.datos_parientes USING btree (updated_by_id);


--
-- Name: datos_personales_agentes_agente_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_personales_agentes_agente_links_fk ON public.datos_personales_agentes_agente_links USING btree (dato_personal_agente_id);


--
-- Name: datos_personales_agentes_agente_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_personales_agentes_agente_links_inv_fk ON public.datos_personales_agentes_agente_links USING btree (agente_id);


--
-- Name: datos_personales_agentes_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_personales_agentes_created_by_id_fk ON public.datos_personales_agentes USING btree (created_by_id);


--
-- Name: datos_personales_agentes_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_personales_agentes_updated_by_id_fk ON public.datos_personales_agentes USING btree (updated_by_id);


--
-- Name: datos_personales_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_personales_created_by_id_fk ON public.datos_personales USING btree (created_by_id);


--
-- Name: datos_personales_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_personales_updated_by_id_fk ON public.datos_personales USING btree (updated_by_id);


--
-- Name: datos_referencias_comerciales_agentes_agente_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_referencias_comerciales_agentes_agente_links_fk ON public.datos_referencias_comerciales_agentes_agente_links USING btree (dato_referencia_comercial_agente_id);


--
-- Name: datos_referencias_comerciales_agentes_agente_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_referencias_comerciales_agentes_agente_links_inv_fk ON public.datos_referencias_comerciales_agentes_agente_links USING btree (agente_id);


--
-- Name: datos_referencias_comerciales_agentes_agente_links_order_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_referencias_comerciales_agentes_agente_links_order_inv_fk ON public.datos_referencias_comerciales_agentes_agente_links USING btree (dato_referencia_comercial_agente_order);


--
-- Name: datos_referencias_comerciales_agentes_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_referencias_comerciales_agentes_created_by_id_fk ON public.datos_referencias_comerciales_agentes USING btree (created_by_id);


--
-- Name: datos_referencias_comerciales_agentes_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_referencias_comerciales_agentes_updated_by_id_fk ON public.datos_referencias_comerciales_agentes USING btree (updated_by_id);


--
-- Name: datos_referidos_cercanos_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_referidos_cercanos_created_by_id_fk ON public.datos_referidos_cercanos USING btree (created_by_id);


--
-- Name: datos_referidos_cercanos_persona_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_referidos_cercanos_persona_links_fk ON public.datos_referidos_cercanos_persona_links USING btree (dato_referidos_cercanos_id);


--
-- Name: datos_referidos_cercanos_persona_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_referidos_cercanos_persona_links_inv_fk ON public.datos_referidos_cercanos_persona_links USING btree (persona_id);


--
-- Name: datos_referidos_cercanos_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_referidos_cercanos_updated_by_id_fk ON public.datos_referidos_cercanos USING btree (updated_by_id);


--
-- Name: datos_saluds_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_saluds_created_by_id_fk ON public.datos_saluds USING btree (created_by_id);


--
-- Name: datos_saluds_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_saluds_updated_by_id_fk ON public.datos_saluds USING btree (updated_by_id);


--
-- Name: datos_terceros_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_terceros_created_by_id_fk ON public.datos_terceros USING btree (created_by_id);


--
-- Name: datos_terceros_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_terceros_updated_by_id_fk ON public.datos_terceros USING btree (updated_by_id);


--
-- Name: datos_total_gastos_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_total_gastos_created_by_id_fk ON public.datos_total_gastos USING btree (created_by_id);


--
-- Name: datos_total_gastos_persona_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_total_gastos_persona_links_fk ON public.datos_total_gastos_persona_links USING btree (dato_total_gastos_id);


--
-- Name: datos_total_gastos_persona_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_total_gastos_persona_links_inv_fk ON public.datos_total_gastos_persona_links USING btree (persona_id);


--
-- Name: datos_total_gastos_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_total_gastos_updated_by_id_fk ON public.datos_total_gastos USING btree (updated_by_id);


--
-- Name: datos_universitarios_hijos_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_universitarios_hijos_created_by_id_fk ON public.datos_universitarios_hijos USING btree (created_by_id);


--
-- Name: datos_universitarios_hijos_persona_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_universitarios_hijos_persona_links_fk ON public.datos_universitarios_hijos_persona_links USING btree (dato_universitario_hijos_id);


--
-- Name: datos_universitarios_hijos_persona_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_universitarios_hijos_persona_links_inv_fk ON public.datos_universitarios_hijos_persona_links USING btree (persona_id);


--
-- Name: datos_universitarios_hijos_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX datos_universitarios_hijos_updated_by_id_fk ON public.datos_universitarios_hijos USING btree (updated_by_id);


--
-- Name: estadisticas_referidos_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX estadisticas_referidos_created_by_id_fk ON public.estadisticas_referidos USING btree (created_by_id);


--
-- Name: estadisticas_referidos_link_refererido_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX estadisticas_referidos_link_refererido_links_fk ON public.estadisticas_referidos_link_refererido_links USING btree (estadistica_referido_id);


--
-- Name: estadisticas_referidos_link_refererido_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX estadisticas_referidos_link_refererido_links_inv_fk ON public.estadisticas_referidos_link_refererido_links USING btree (link_refererido_id);


--
-- Name: estadisticas_referidos_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX estadisticas_referidos_updated_by_id_fk ON public.estadisticas_referidos USING btree (updated_by_id);


--
-- Name: files_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX files_created_by_id_fk ON public.files USING btree (created_by_id);


--
-- Name: files_folder_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX files_folder_links_fk ON public.files_folder_links USING btree (file_id);


--
-- Name: files_folder_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX files_folder_links_inv_fk ON public.files_folder_links USING btree (folder_id);


--
-- Name: files_folder_links_order_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX files_folder_links_order_inv_fk ON public.files_folder_links USING btree (file_order);


--
-- Name: files_related_morphs_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX files_related_morphs_fk ON public.files_related_morphs USING btree (file_id);


--
-- Name: files_related_morphs_id_column_index; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX files_related_morphs_id_column_index ON public.files_related_morphs USING btree (related_id);


--
-- Name: files_related_morphs_order_index; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX files_related_morphs_order_index ON public.files_related_morphs USING btree ("order");


--
-- Name: files_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX files_updated_by_id_fk ON public.files USING btree (updated_by_id);


--
-- Name: i18n_locale_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX i18n_locale_created_by_id_fk ON public.i18n_locale USING btree (created_by_id);


--
-- Name: i18n_locale_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX i18n_locale_updated_by_id_fk ON public.i18n_locale USING btree (updated_by_id);


--
-- Name: links_refereridos_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX links_refereridos_created_by_id_fk ON public.links_refereridos USING btree (created_by_id);


--
-- Name: links_refereridos_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX links_refereridos_updated_by_id_fk ON public.links_refereridos USING btree (updated_by_id);


--
-- Name: personas_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_created_by_id_fk ON public.personas USING btree (created_by_id);


--
-- Name: personas_datos_bancarios_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_datos_bancarios_links_fk ON public.personas_datos_bancarios_links USING btree (persona_id);


--
-- Name: personas_datos_bancarios_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_datos_bancarios_links_inv_fk ON public.personas_datos_bancarios_links USING btree (dato_bancario_id);


--
-- Name: personas_datos_femeninos_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_datos_femeninos_links_fk ON public.personas_datos_femeninos_links USING btree (persona_id);


--
-- Name: personas_datos_femeninos_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_datos_femeninos_links_inv_fk ON public.personas_datos_femeninos_links USING btree (dato_femenino_id);


--
-- Name: personas_datos_laborales_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_datos_laborales_links_fk ON public.personas_datos_laborales_links USING btree (persona_id);


--
-- Name: personas_datos_laborales_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_datos_laborales_links_inv_fk ON public.personas_datos_laborales_links USING btree (dato_laboral_id);


--
-- Name: personas_datos_otros_seguros_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_datos_otros_seguros_links_fk ON public.personas_datos_otros_seguros_links USING btree (persona_id);


--
-- Name: personas_datos_otros_seguros_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_datos_otros_seguros_links_inv_fk ON public.personas_datos_otros_seguros_links USING btree (dato_otros_seguros_id);


--
-- Name: personas_datos_parientes_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_datos_parientes_links_fk ON public.personas_datos_parientes_links USING btree (persona_id);


--
-- Name: personas_datos_parientes_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_datos_parientes_links_inv_fk ON public.personas_datos_parientes_links USING btree (dato_parientes_id);


--
-- Name: personas_datos_personale_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_datos_personale_links_fk ON public.personas_datos_personale_links USING btree (persona_id);


--
-- Name: personas_datos_personale_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_datos_personale_links_inv_fk ON public.personas_datos_personale_links USING btree (dato_personal_id);


--
-- Name: personas_datos_salud_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_datos_salud_links_fk ON public.personas_datos_salud_links USING btree (persona_id);


--
-- Name: personas_datos_salud_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_datos_salud_links_inv_fk ON public.personas_datos_salud_links USING btree (datos_salud_id);


--
-- Name: personas_datos_tercero_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_datos_tercero_links_fk ON public.personas_datos_tercero_links USING btree (persona_id);


--
-- Name: personas_datos_tercero_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_datos_tercero_links_inv_fk ON public.personas_datos_tercero_links USING btree (dato_terceros_id);


--
-- Name: personas_link_refererido_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_link_refererido_links_fk ON public.personas_link_refererido_links USING btree (persona_id);


--
-- Name: personas_link_refererido_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_link_refererido_links_inv_fk ON public.personas_link_refererido_links USING btree (link_refererido_id);


--
-- Name: personas_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX personas_updated_by_id_fk ON public.personas USING btree (updated_by_id);


--
-- Name: solicitudes_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX solicitudes_created_by_id_fk ON public.solicitudes USING btree (created_by_id);


--
-- Name: solicitudes_datos_bancarios_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX solicitudes_datos_bancarios_links_fk ON public.solicitudes_datos_bancarios_links USING btree (solicitud_id);


--
-- Name: solicitudes_datos_bancarios_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX solicitudes_datos_bancarios_links_inv_fk ON public.solicitudes_datos_bancarios_links USING btree (dato_bancario_id);


--
-- Name: solicitudes_datos_femeninos_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX solicitudes_datos_femeninos_links_fk ON public.solicitudes_datos_femeninos_links USING btree (solicitud_id);


--
-- Name: solicitudes_datos_femeninos_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX solicitudes_datos_femeninos_links_inv_fk ON public.solicitudes_datos_femeninos_links USING btree (dato_femenino_id);


--
-- Name: solicitudes_datos_laborales_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX solicitudes_datos_laborales_links_fk ON public.solicitudes_datos_laborales_links USING btree (solicitud_id);


--
-- Name: solicitudes_datos_laborales_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX solicitudes_datos_laborales_links_inv_fk ON public.solicitudes_datos_laborales_links USING btree (dato_laboral_id);


--
-- Name: solicitudes_datos_otros_seguros_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX solicitudes_datos_otros_seguros_links_fk ON public.solicitudes_datos_otros_seguros_links USING btree (solicitud_id);


--
-- Name: solicitudes_datos_otros_seguros_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX solicitudes_datos_otros_seguros_links_inv_fk ON public.solicitudes_datos_otros_seguros_links USING btree (dato_otros_seguros_id);


--
-- Name: solicitudes_datos_parientes_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX solicitudes_datos_parientes_links_fk ON public.solicitudes_datos_parientes_links USING btree (solicitud_id);


--
-- Name: solicitudes_datos_parientes_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX solicitudes_datos_parientes_links_inv_fk ON public.solicitudes_datos_parientes_links USING btree (dato_parientes_id);


--
-- Name: solicitudes_datos_personales_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX solicitudes_datos_personales_links_fk ON public.solicitudes_datos_personales_links USING btree (solicitud_id);


--
-- Name: solicitudes_datos_personales_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX solicitudes_datos_personales_links_inv_fk ON public.solicitudes_datos_personales_links USING btree (dato_personal_id);


--
-- Name: solicitudes_datos_salud_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX solicitudes_datos_salud_links_fk ON public.solicitudes_datos_salud_links USING btree (solicitud_id);


--
-- Name: solicitudes_datos_salud_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX solicitudes_datos_salud_links_inv_fk ON public.solicitudes_datos_salud_links USING btree (datos_salud_id);


--
-- Name: solicitudes_datos_terceros_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX solicitudes_datos_terceros_links_fk ON public.solicitudes_datos_terceros_links USING btree (solicitud_id);


--
-- Name: solicitudes_datos_terceros_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX solicitudes_datos_terceros_links_inv_fk ON public.solicitudes_datos_terceros_links USING btree (dato_terceros_id);


--
-- Name: solicitudes_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX solicitudes_updated_by_id_fk ON public.solicitudes USING btree (updated_by_id);


--
-- Name: strapi_api_token_permissions_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX strapi_api_token_permissions_created_by_id_fk ON public.strapi_api_token_permissions USING btree (created_by_id);


--
-- Name: strapi_api_token_permissions_token_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX strapi_api_token_permissions_token_links_fk ON public.strapi_api_token_permissions_token_links USING btree (api_token_permission_id);


--
-- Name: strapi_api_token_permissions_token_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX strapi_api_token_permissions_token_links_inv_fk ON public.strapi_api_token_permissions_token_links USING btree (api_token_id);


--
-- Name: strapi_api_token_permissions_token_links_order_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX strapi_api_token_permissions_token_links_order_inv_fk ON public.strapi_api_token_permissions_token_links USING btree (api_token_permission_order);


--
-- Name: strapi_api_token_permissions_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX strapi_api_token_permissions_updated_by_id_fk ON public.strapi_api_token_permissions USING btree (updated_by_id);


--
-- Name: strapi_api_tokens_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX strapi_api_tokens_created_by_id_fk ON public.strapi_api_tokens USING btree (created_by_id);


--
-- Name: strapi_api_tokens_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX strapi_api_tokens_updated_by_id_fk ON public.strapi_api_tokens USING btree (updated_by_id);


--
-- Name: strapi_transfer_token_permissions_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX strapi_transfer_token_permissions_created_by_id_fk ON public.strapi_transfer_token_permissions USING btree (created_by_id);


--
-- Name: strapi_transfer_token_permissions_token_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX strapi_transfer_token_permissions_token_links_fk ON public.strapi_transfer_token_permissions_token_links USING btree (transfer_token_permission_id);


--
-- Name: strapi_transfer_token_permissions_token_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX strapi_transfer_token_permissions_token_links_inv_fk ON public.strapi_transfer_token_permissions_token_links USING btree (transfer_token_id);


--
-- Name: strapi_transfer_token_permissions_token_links_order_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX strapi_transfer_token_permissions_token_links_order_inv_fk ON public.strapi_transfer_token_permissions_token_links USING btree (transfer_token_permission_order);


--
-- Name: strapi_transfer_token_permissions_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX strapi_transfer_token_permissions_updated_by_id_fk ON public.strapi_transfer_token_permissions USING btree (updated_by_id);


--
-- Name: strapi_transfer_tokens_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX strapi_transfer_tokens_created_by_id_fk ON public.strapi_transfer_tokens USING btree (created_by_id);


--
-- Name: strapi_transfer_tokens_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX strapi_transfer_tokens_updated_by_id_fk ON public.strapi_transfer_tokens USING btree (updated_by_id);


--
-- Name: up_permissions_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX up_permissions_created_by_id_fk ON public.up_permissions USING btree (created_by_id);


--
-- Name: up_permissions_role_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX up_permissions_role_links_fk ON public.up_permissions_role_links USING btree (permission_id);


--
-- Name: up_permissions_role_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX up_permissions_role_links_inv_fk ON public.up_permissions_role_links USING btree (role_id);


--
-- Name: up_permissions_role_links_order_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX up_permissions_role_links_order_inv_fk ON public.up_permissions_role_links USING btree (permission_order);


--
-- Name: up_permissions_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX up_permissions_updated_by_id_fk ON public.up_permissions USING btree (updated_by_id);


--
-- Name: up_roles_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX up_roles_created_by_id_fk ON public.up_roles USING btree (created_by_id);


--
-- Name: up_roles_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX up_roles_updated_by_id_fk ON public.up_roles USING btree (updated_by_id);


--
-- Name: up_users_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX up_users_created_by_id_fk ON public.up_users USING btree (created_by_id);


--
-- Name: up_users_role_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX up_users_role_links_fk ON public.up_users_role_links USING btree (user_id);


--
-- Name: up_users_role_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX up_users_role_links_inv_fk ON public.up_users_role_links USING btree (role_id);


--
-- Name: up_users_role_links_order_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX up_users_role_links_order_inv_fk ON public.up_users_role_links USING btree (user_order);


--
-- Name: up_users_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX up_users_updated_by_id_fk ON public.up_users USING btree (updated_by_id);


--
-- Name: upload_files_created_at_index; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX upload_files_created_at_index ON public.files USING btree (created_at);


--
-- Name: upload_files_ext_index; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX upload_files_ext_index ON public.files USING btree (ext);


--
-- Name: upload_files_folder_path_index; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX upload_files_folder_path_index ON public.files USING btree (folder_path);


--
-- Name: upload_files_name_index; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX upload_files_name_index ON public.files USING btree (name);


--
-- Name: upload_files_size_index; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX upload_files_size_index ON public.files USING btree (size);


--
-- Name: upload_files_updated_at_index; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX upload_files_updated_at_index ON public.files USING btree (updated_at);


--
-- Name: upload_folders_created_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX upload_folders_created_by_id_fk ON public.upload_folders USING btree (created_by_id);


--
-- Name: upload_folders_parent_links_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX upload_folders_parent_links_fk ON public.upload_folders_parent_links USING btree (folder_id);


--
-- Name: upload_folders_parent_links_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX upload_folders_parent_links_inv_fk ON public.upload_folders_parent_links USING btree (inv_folder_id);


--
-- Name: upload_folders_parent_links_order_inv_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX upload_folders_parent_links_order_inv_fk ON public.upload_folders_parent_links USING btree (folder_order);


--
-- Name: upload_folders_updated_by_id_fk; Type: INDEX; Schema: public; Owner: root
--

CREATE INDEX upload_folders_updated_by_id_fk ON public.upload_folders USING btree (updated_by_id);


--
-- Name: admin_permissions admin_permissions_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.admin_permissions
    ADD CONSTRAINT admin_permissions_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: admin_permissions_role_links admin_permissions_role_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.admin_permissions_role_links
    ADD CONSTRAINT admin_permissions_role_links_fk FOREIGN KEY (permission_id) REFERENCES public.admin_permissions(id) ON DELETE CASCADE;


--
-- Name: admin_permissions_role_links admin_permissions_role_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.admin_permissions_role_links
    ADD CONSTRAINT admin_permissions_role_links_inv_fk FOREIGN KEY (role_id) REFERENCES public.admin_roles(id) ON DELETE CASCADE;


--
-- Name: admin_permissions admin_permissions_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.admin_permissions
    ADD CONSTRAINT admin_permissions_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: admin_roles admin_roles_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.admin_roles
    ADD CONSTRAINT admin_roles_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: admin_roles admin_roles_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.admin_roles
    ADD CONSTRAINT admin_roles_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: admin_users admin_users_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.admin_users
    ADD CONSTRAINT admin_users_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: admin_users_roles_links admin_users_roles_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.admin_users_roles_links
    ADD CONSTRAINT admin_users_roles_links_fk FOREIGN KEY (user_id) REFERENCES public.admin_users(id) ON DELETE CASCADE;


--
-- Name: admin_users_roles_links admin_users_roles_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.admin_users_roles_links
    ADD CONSTRAINT admin_users_roles_links_inv_fk FOREIGN KEY (role_id) REFERENCES public.admin_roles(id) ON DELETE CASCADE;


--
-- Name: admin_users admin_users_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.admin_users
    ADD CONSTRAINT admin_users_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: agentes agentes_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.agentes
    ADD CONSTRAINT agentes_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: agentes_link_refererido_links agentes_link_refererido_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.agentes_link_refererido_links
    ADD CONSTRAINT agentes_link_refererido_links_fk FOREIGN KEY (agente_id) REFERENCES public.agentes(id) ON DELETE CASCADE;


--
-- Name: agentes_link_refererido_links agentes_link_refererido_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.agentes_link_refererido_links
    ADD CONSTRAINT agentes_link_refererido_links_inv_fk FOREIGN KEY (link_refererido_id) REFERENCES public.links_refereridos(id) ON DELETE CASCADE;


--
-- Name: agentes agentes_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.agentes
    ADD CONSTRAINT agentes_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: analisis_de_necesidades analisis_de_necesidades_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades
    ADD CONSTRAINT analisis_de_necesidades_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: analisis_de_necesidades_datos_adicionales_links analisis_de_necesidades_datos_adicionales_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_adicionales_links
    ADD CONSTRAINT analisis_de_necesidades_datos_adicionales_links_fk FOREIGN KEY (analisis_de_necesidad_id) REFERENCES public.analisis_de_necesidades(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades_datos_adicionales_links analisis_de_necesidades_datos_adicionales_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_adicionales_links
    ADD CONSTRAINT analisis_de_necesidades_datos_adicionales_links_inv_fk FOREIGN KEY (dato_adicional_id) REFERENCES public.datos_adicionales(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades_datos_compromiso_prima_links analisis_de_necesidades_datos_compromiso_prima_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_compromiso_prima_links
    ADD CONSTRAINT analisis_de_necesidades_datos_compromiso_prima_links_fk FOREIGN KEY (analisis_de_necesidad_id) REFERENCES public.analisis_de_necesidades(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades_datos_compromiso_prima_links analisis_de_necesidades_datos_compromiso_prima_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_compromiso_prima_links
    ADD CONSTRAINT analisis_de_necesidades_datos_compromiso_prima_links_inv_fk FOREIGN KEY (dato_compromiso_prima_id) REFERENCES public.datos_compromiso_primas(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades_datos_familiares_links analisis_de_necesidades_datos_familiares_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_familiares_links
    ADD CONSTRAINT analisis_de_necesidades_datos_familiares_links_fk FOREIGN KEY (analisis_de_necesidad_id) REFERENCES public.analisis_de_necesidades(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades_datos_familiares_links analisis_de_necesidades_datos_familiares_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_familiares_links
    ADD CONSTRAINT analisis_de_necesidades_datos_familiares_links_inv_fk FOREIGN KEY (dato_familiar_id) REFERENCES public.datos_familiares(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades_datos_financieros_links analisis_de_necesidades_datos_financieros_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_financieros_links
    ADD CONSTRAINT analisis_de_necesidades_datos_financieros_links_fk FOREIGN KEY (analisis_de_necesidad_id) REFERENCES public.analisis_de_necesidades(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades_datos_financieros_links analisis_de_necesidades_datos_financieros_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_financieros_links
    ADD CONSTRAINT analisis_de_necesidades_datos_financieros_links_inv_fk FOREIGN KEY (dato_financiero_id) REFERENCES public.datos_financieros(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades_datos_ingresos_gastos_links analisis_de_necesidades_datos_ingresos_gastos_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_ingresos_gastos_links
    ADD CONSTRAINT analisis_de_necesidades_datos_ingresos_gastos_links_fk FOREIGN KEY (analisis_de_necesidad_id) REFERENCES public.analisis_de_necesidades(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades_datos_ingresos_gastos_links analisis_de_necesidades_datos_ingresos_gastos_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_ingresos_gastos_links
    ADD CONSTRAINT analisis_de_necesidades_datos_ingresos_gastos_links_inv_fk FOREIGN KEY (dato_ingresos_gastos_id) REFERENCES public.datos_ingresos_gastos(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades_datos_jubilacion_links analisis_de_necesidades_datos_jubilacion_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_jubilacion_links
    ADD CONSTRAINT analisis_de_necesidades_datos_jubilacion_links_fk FOREIGN KEY (analisis_de_necesidad_id) REFERENCES public.analisis_de_necesidades(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades_datos_jubilacion_links analisis_de_necesidades_datos_jubilacion_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_jubilacion_links
    ADD CONSTRAINT analisis_de_necesidades_datos_jubilacion_links_inv_fk FOREIGN KEY (dato_jubilacion_id) REFERENCES public.datos_jubilacion(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades_datos_personales_links analisis_de_necesidades_datos_personales_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_personales_links
    ADD CONSTRAINT analisis_de_necesidades_datos_personales_links_fk FOREIGN KEY (analisis_de_necesidad_id) REFERENCES public.analisis_de_necesidades(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades_datos_personales_links analisis_de_necesidades_datos_personales_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_personales_links
    ADD CONSTRAINT analisis_de_necesidades_datos_personales_links_inv_fk FOREIGN KEY (dato_personal_id) REFERENCES public.datos_personales(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades_datos_referidos_cercanos_links analisis_de_necesidades_datos_referidos_cercanos_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_referidos_cercanos_links
    ADD CONSTRAINT analisis_de_necesidades_datos_referidos_cercanos_links_fk FOREIGN KEY (analisis_de_necesidad_id) REFERENCES public.analisis_de_necesidades(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades_datos_referidos_cercanos_links analisis_de_necesidades_datos_referidos_cercanos_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_referidos_cercanos_links
    ADD CONSTRAINT analisis_de_necesidades_datos_referidos_cercanos_links_inv_fk FOREIGN KEY (dato_referidos_cercanos_id) REFERENCES public.datos_referidos_cercanos(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades_datos_total_gastos_links analisis_de_necesidades_datos_total_gastos_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_total_gastos_links
    ADD CONSTRAINT analisis_de_necesidades_datos_total_gastos_links_fk FOREIGN KEY (analisis_de_necesidad_id) REFERENCES public.analisis_de_necesidades(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades_datos_total_gastos_links analisis_de_necesidades_datos_total_gastos_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_total_gastos_links
    ADD CONSTRAINT analisis_de_necesidades_datos_total_gastos_links_inv_fk FOREIGN KEY (dato_total_gastos_id) REFERENCES public.datos_total_gastos(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades_datos_universitarios_hijos_links analisis_de_necesidades_datos_universitarios_hijos_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_universitarios_hijos_links
    ADD CONSTRAINT analisis_de_necesidades_datos_universitarios_hijos_links_fk FOREIGN KEY (analisis_de_necesidad_id) REFERENCES public.analisis_de_necesidades(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades_datos_universitarios_hijos_links analisis_de_necesidades_datos_universitarios_hijos_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades_datos_universitarios_hijos_links
    ADD CONSTRAINT analisis_de_necesidades_datos_universitarios_hijos_links_inv_fk FOREIGN KEY (dato_universitario_hijos_id) REFERENCES public.datos_universitarios_hijos(id) ON DELETE CASCADE;


--
-- Name: analisis_de_necesidades analisis_de_necesidades_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.analisis_de_necesidades
    ADD CONSTRAINT analisis_de_necesidades_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_academicos_agentes_agente_links datos_academicos_agentes_agente_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_academicos_agentes_agente_links
    ADD CONSTRAINT datos_academicos_agentes_agente_links_fk FOREIGN KEY (dato_academico_agente_id) REFERENCES public.datos_academicos_agentes(id) ON DELETE CASCADE;


--
-- Name: datos_academicos_agentes_agente_links datos_academicos_agentes_agente_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_academicos_agentes_agente_links
    ADD CONSTRAINT datos_academicos_agentes_agente_links_inv_fk FOREIGN KEY (agente_id) REFERENCES public.agentes(id) ON DELETE CASCADE;


--
-- Name: datos_academicos_agentes datos_academicos_agentes_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_academicos_agentes
    ADD CONSTRAINT datos_academicos_agentes_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_academicos_agentes datos_academicos_agentes_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_academicos_agentes
    ADD CONSTRAINT datos_academicos_agentes_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_adicionales datos_adicionales_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_adicionales
    ADD CONSTRAINT datos_adicionales_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_adicionales_persona_links datos_adicionales_persona_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_adicionales_persona_links
    ADD CONSTRAINT datos_adicionales_persona_links_fk FOREIGN KEY (dato_adicional_id) REFERENCES public.datos_adicionales(id) ON DELETE CASCADE;


--
-- Name: datos_adicionales_persona_links datos_adicionales_persona_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_adicionales_persona_links
    ADD CONSTRAINT datos_adicionales_persona_links_inv_fk FOREIGN KEY (persona_id) REFERENCES public.personas(id) ON DELETE CASCADE;


--
-- Name: datos_adicionales datos_adicionales_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_adicionales
    ADD CONSTRAINT datos_adicionales_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_bancarios datos_bancarios_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_bancarios
    ADD CONSTRAINT datos_bancarios_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_bancarios datos_bancarios_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_bancarios
    ADD CONSTRAINT datos_bancarios_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_compromiso_primas datos_compromiso_primas_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_compromiso_primas
    ADD CONSTRAINT datos_compromiso_primas_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_compromiso_primas_persona_links datos_compromiso_primas_persona_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_compromiso_primas_persona_links
    ADD CONSTRAINT datos_compromiso_primas_persona_links_fk FOREIGN KEY (dato_compromiso_prima_id) REFERENCES public.datos_compromiso_primas(id) ON DELETE CASCADE;


--
-- Name: datos_compromiso_primas_persona_links datos_compromiso_primas_persona_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_compromiso_primas_persona_links
    ADD CONSTRAINT datos_compromiso_primas_persona_links_inv_fk FOREIGN KEY (persona_id) REFERENCES public.personas(id) ON DELETE CASCADE;


--
-- Name: datos_compromiso_primas datos_compromiso_primas_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_compromiso_primas
    ADD CONSTRAINT datos_compromiso_primas_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_cuestionario_agentes_agente_links datos_cuestionario_agentes_agente_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_cuestionario_agentes_agente_links
    ADD CONSTRAINT datos_cuestionario_agentes_agente_links_fk FOREIGN KEY (dato_cuestionario_agente_id) REFERENCES public.datos_cuestionario_agentes(id) ON DELETE CASCADE;


--
-- Name: datos_cuestionario_agentes_agente_links datos_cuestionario_agentes_agente_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_cuestionario_agentes_agente_links
    ADD CONSTRAINT datos_cuestionario_agentes_agente_links_inv_fk FOREIGN KEY (agente_id) REFERENCES public.agentes(id) ON DELETE CASCADE;


--
-- Name: datos_cuestionario_agentes datos_cuestionario_agentes_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_cuestionario_agentes
    ADD CONSTRAINT datos_cuestionario_agentes_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_cuestionario_agentes datos_cuestionario_agentes_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_cuestionario_agentes
    ADD CONSTRAINT datos_cuestionario_agentes_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_entorno_angetes_agente_links datos_entorno_angetes_agente_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_entorno_angetes_agente_links
    ADD CONSTRAINT datos_entorno_angetes_agente_links_fk FOREIGN KEY (dato_entorno_angete_id) REFERENCES public.datos_entorno_angetes(id) ON DELETE CASCADE;


--
-- Name: datos_entorno_angetes_agente_links datos_entorno_angetes_agente_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_entorno_angetes_agente_links
    ADD CONSTRAINT datos_entorno_angetes_agente_links_inv_fk FOREIGN KEY (agente_id) REFERENCES public.agentes(id) ON DELETE CASCADE;


--
-- Name: datos_entorno_angetes datos_entorno_angetes_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_entorno_angetes
    ADD CONSTRAINT datos_entorno_angetes_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_entorno_angetes datos_entorno_angetes_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_entorno_angetes
    ADD CONSTRAINT datos_entorno_angetes_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_familiares datos_familiares_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_familiares
    ADD CONSTRAINT datos_familiares_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_familiares_persona_links datos_familiares_persona_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_familiares_persona_links
    ADD CONSTRAINT datos_familiares_persona_links_fk FOREIGN KEY (dato_familiar_id) REFERENCES public.datos_familiares(id) ON DELETE CASCADE;


--
-- Name: datos_familiares_persona_links datos_familiares_persona_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_familiares_persona_links
    ADD CONSTRAINT datos_familiares_persona_links_inv_fk FOREIGN KEY (persona_id) REFERENCES public.personas(id) ON DELETE CASCADE;


--
-- Name: datos_familiares datos_familiares_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_familiares
    ADD CONSTRAINT datos_familiares_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_femeninos datos_femeninos_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_femeninos
    ADD CONSTRAINT datos_femeninos_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_femeninos datos_femeninos_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_femeninos
    ADD CONSTRAINT datos_femeninos_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_financieros datos_financieros_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_financieros
    ADD CONSTRAINT datos_financieros_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_financieros_persona_links datos_financieros_persona_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_financieros_persona_links
    ADD CONSTRAINT datos_financieros_persona_links_fk FOREIGN KEY (dato_financiero_id) REFERENCES public.datos_financieros(id) ON DELETE CASCADE;


--
-- Name: datos_financieros_persona_links datos_financieros_persona_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_financieros_persona_links
    ADD CONSTRAINT datos_financieros_persona_links_inv_fk FOREIGN KEY (persona_id) REFERENCES public.personas(id) ON DELETE CASCADE;


--
-- Name: datos_financieros datos_financieros_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_financieros
    ADD CONSTRAINT datos_financieros_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_ingresos_gastos datos_ingresos_gastos_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_ingresos_gastos
    ADD CONSTRAINT datos_ingresos_gastos_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_ingresos_gastos_persona_links datos_ingresos_gastos_persona_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_ingresos_gastos_persona_links
    ADD CONSTRAINT datos_ingresos_gastos_persona_links_fk FOREIGN KEY (dato_ingresos_gastos_id) REFERENCES public.datos_ingresos_gastos(id) ON DELETE CASCADE;


--
-- Name: datos_ingresos_gastos_persona_links datos_ingresos_gastos_persona_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_ingresos_gastos_persona_links
    ADD CONSTRAINT datos_ingresos_gastos_persona_links_inv_fk FOREIGN KEY (persona_id) REFERENCES public.personas(id) ON DELETE CASCADE;


--
-- Name: datos_ingresos_gastos datos_ingresos_gastos_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_ingresos_gastos
    ADD CONSTRAINT datos_ingresos_gastos_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_jubilacion datos_jubilacion_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_jubilacion
    ADD CONSTRAINT datos_jubilacion_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_jubilacion_persona_links datos_jubilacion_persona_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_jubilacion_persona_links
    ADD CONSTRAINT datos_jubilacion_persona_links_fk FOREIGN KEY (dato_jubilacion_id) REFERENCES public.datos_jubilacion(id) ON DELETE CASCADE;


--
-- Name: datos_jubilacion_persona_links datos_jubilacion_persona_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_jubilacion_persona_links
    ADD CONSTRAINT datos_jubilacion_persona_links_inv_fk FOREIGN KEY (persona_id) REFERENCES public.personas(id) ON DELETE CASCADE;


--
-- Name: datos_jubilacion datos_jubilacion_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_jubilacion
    ADD CONSTRAINT datos_jubilacion_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_laborales_agentes_agente_links datos_laborales_agentes_agente_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_laborales_agentes_agente_links
    ADD CONSTRAINT datos_laborales_agentes_agente_links_fk FOREIGN KEY (dato_laboral_agente_id) REFERENCES public.datos_laborales_agentes(id) ON DELETE CASCADE;


--
-- Name: datos_laborales_agentes_agente_links datos_laborales_agentes_agente_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_laborales_agentes_agente_links
    ADD CONSTRAINT datos_laborales_agentes_agente_links_inv_fk FOREIGN KEY (agente_id) REFERENCES public.agentes(id) ON DELETE CASCADE;


--
-- Name: datos_laborales_agentes datos_laborales_agentes_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_laborales_agentes
    ADD CONSTRAINT datos_laborales_agentes_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_laborales_agentes datos_laborales_agentes_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_laborales_agentes
    ADD CONSTRAINT datos_laborales_agentes_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_laborales datos_laborales_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_laborales
    ADD CONSTRAINT datos_laborales_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_laborales datos_laborales_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_laborales
    ADD CONSTRAINT datos_laborales_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_opiniones_laborales_agentes_agente_links datos_opiniones_laborales_agentes_agente_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_opiniones_laborales_agentes_agente_links
    ADD CONSTRAINT datos_opiniones_laborales_agentes_agente_links_fk FOREIGN KEY (dato_opinion_laboral_agente_id) REFERENCES public.datos_opiniones_laborales_agentes(id) ON DELETE CASCADE;


--
-- Name: datos_opiniones_laborales_agentes_agente_links datos_opiniones_laborales_agentes_agente_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_opiniones_laborales_agentes_agente_links
    ADD CONSTRAINT datos_opiniones_laborales_agentes_agente_links_inv_fk FOREIGN KEY (agente_id) REFERENCES public.agentes(id) ON DELETE CASCADE;


--
-- Name: datos_opiniones_laborales_agentes datos_opiniones_laborales_agentes_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_opiniones_laborales_agentes
    ADD CONSTRAINT datos_opiniones_laborales_agentes_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_opiniones_laborales_agentes datos_opiniones_laborales_agentes_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_opiniones_laborales_agentes
    ADD CONSTRAINT datos_opiniones_laborales_agentes_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_otros_seguros datos_otros_seguros_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_otros_seguros
    ADD CONSTRAINT datos_otros_seguros_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_otros_seguros datos_otros_seguros_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_otros_seguros
    ADD CONSTRAINT datos_otros_seguros_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_parientes datos_parientes_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_parientes
    ADD CONSTRAINT datos_parientes_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_parientes datos_parientes_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_parientes
    ADD CONSTRAINT datos_parientes_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_personales_agentes_agente_links datos_personales_agentes_agente_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_personales_agentes_agente_links
    ADD CONSTRAINT datos_personales_agentes_agente_links_fk FOREIGN KEY (dato_personal_agente_id) REFERENCES public.datos_personales_agentes(id) ON DELETE CASCADE;


--
-- Name: datos_personales_agentes_agente_links datos_personales_agentes_agente_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_personales_agentes_agente_links
    ADD CONSTRAINT datos_personales_agentes_agente_links_inv_fk FOREIGN KEY (agente_id) REFERENCES public.agentes(id) ON DELETE CASCADE;


--
-- Name: datos_personales_agentes datos_personales_agentes_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_personales_agentes
    ADD CONSTRAINT datos_personales_agentes_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_personales_agentes datos_personales_agentes_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_personales_agentes
    ADD CONSTRAINT datos_personales_agentes_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_personales datos_personales_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_personales
    ADD CONSTRAINT datos_personales_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_personales datos_personales_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_personales
    ADD CONSTRAINT datos_personales_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_referencias_comerciales_agentes_agente_links datos_referencias_comerciales_agentes_agente_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_referencias_comerciales_agentes_agente_links
    ADD CONSTRAINT datos_referencias_comerciales_agentes_agente_links_fk FOREIGN KEY (dato_referencia_comercial_agente_id) REFERENCES public.datos_referencias_comerciales_agentes(id) ON DELETE CASCADE;


--
-- Name: datos_referencias_comerciales_agentes_agente_links datos_referencias_comerciales_agentes_agente_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_referencias_comerciales_agentes_agente_links
    ADD CONSTRAINT datos_referencias_comerciales_agentes_agente_links_inv_fk FOREIGN KEY (agente_id) REFERENCES public.agentes(id) ON DELETE CASCADE;


--
-- Name: datos_referencias_comerciales_agentes datos_referencias_comerciales_agentes_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_referencias_comerciales_agentes
    ADD CONSTRAINT datos_referencias_comerciales_agentes_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_referencias_comerciales_agentes datos_referencias_comerciales_agentes_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_referencias_comerciales_agentes
    ADD CONSTRAINT datos_referencias_comerciales_agentes_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_referidos_cercanos datos_referidos_cercanos_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_referidos_cercanos
    ADD CONSTRAINT datos_referidos_cercanos_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_referidos_cercanos_persona_links datos_referidos_cercanos_persona_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_referidos_cercanos_persona_links
    ADD CONSTRAINT datos_referidos_cercanos_persona_links_fk FOREIGN KEY (dato_referidos_cercanos_id) REFERENCES public.datos_referidos_cercanos(id) ON DELETE CASCADE;


--
-- Name: datos_referidos_cercanos_persona_links datos_referidos_cercanos_persona_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_referidos_cercanos_persona_links
    ADD CONSTRAINT datos_referidos_cercanos_persona_links_inv_fk FOREIGN KEY (persona_id) REFERENCES public.personas(id) ON DELETE CASCADE;


--
-- Name: datos_referidos_cercanos datos_referidos_cercanos_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_referidos_cercanos
    ADD CONSTRAINT datos_referidos_cercanos_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_saluds datos_saluds_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_saluds
    ADD CONSTRAINT datos_saluds_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_saluds datos_saluds_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_saluds
    ADD CONSTRAINT datos_saluds_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_terceros datos_terceros_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_terceros
    ADD CONSTRAINT datos_terceros_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_terceros datos_terceros_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_terceros
    ADD CONSTRAINT datos_terceros_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_total_gastos datos_total_gastos_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_total_gastos
    ADD CONSTRAINT datos_total_gastos_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_total_gastos_persona_links datos_total_gastos_persona_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_total_gastos_persona_links
    ADD CONSTRAINT datos_total_gastos_persona_links_fk FOREIGN KEY (dato_total_gastos_id) REFERENCES public.datos_total_gastos(id) ON DELETE CASCADE;


--
-- Name: datos_total_gastos_persona_links datos_total_gastos_persona_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_total_gastos_persona_links
    ADD CONSTRAINT datos_total_gastos_persona_links_inv_fk FOREIGN KEY (persona_id) REFERENCES public.personas(id) ON DELETE CASCADE;


--
-- Name: datos_total_gastos datos_total_gastos_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_total_gastos
    ADD CONSTRAINT datos_total_gastos_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_universitarios_hijos datos_universitarios_hijos_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_universitarios_hijos
    ADD CONSTRAINT datos_universitarios_hijos_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: datos_universitarios_hijos_persona_links datos_universitarios_hijos_persona_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_universitarios_hijos_persona_links
    ADD CONSTRAINT datos_universitarios_hijos_persona_links_fk FOREIGN KEY (dato_universitario_hijos_id) REFERENCES public.datos_universitarios_hijos(id) ON DELETE CASCADE;


--
-- Name: datos_universitarios_hijos_persona_links datos_universitarios_hijos_persona_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_universitarios_hijos_persona_links
    ADD CONSTRAINT datos_universitarios_hijos_persona_links_inv_fk FOREIGN KEY (persona_id) REFERENCES public.personas(id) ON DELETE CASCADE;


--
-- Name: datos_universitarios_hijos datos_universitarios_hijos_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.datos_universitarios_hijos
    ADD CONSTRAINT datos_universitarios_hijos_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: estadisticas_referidos estadisticas_referidos_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.estadisticas_referidos
    ADD CONSTRAINT estadisticas_referidos_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: estadisticas_referidos_link_refererido_links estadisticas_referidos_link_refererido_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.estadisticas_referidos_link_refererido_links
    ADD CONSTRAINT estadisticas_referidos_link_refererido_links_fk FOREIGN KEY (estadistica_referido_id) REFERENCES public.estadisticas_referidos(id) ON DELETE CASCADE;


--
-- Name: estadisticas_referidos_link_refererido_links estadisticas_referidos_link_refererido_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.estadisticas_referidos_link_refererido_links
    ADD CONSTRAINT estadisticas_referidos_link_refererido_links_inv_fk FOREIGN KEY (link_refererido_id) REFERENCES public.links_refereridos(id) ON DELETE CASCADE;


--
-- Name: estadisticas_referidos estadisticas_referidos_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.estadisticas_referidos
    ADD CONSTRAINT estadisticas_referidos_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: files files_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.files
    ADD CONSTRAINT files_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: files_folder_links files_folder_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.files_folder_links
    ADD CONSTRAINT files_folder_links_fk FOREIGN KEY (file_id) REFERENCES public.files(id) ON DELETE CASCADE;


--
-- Name: files_folder_links files_folder_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.files_folder_links
    ADD CONSTRAINT files_folder_links_inv_fk FOREIGN KEY (folder_id) REFERENCES public.upload_folders(id) ON DELETE CASCADE;


--
-- Name: files_related_morphs files_related_morphs_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.files_related_morphs
    ADD CONSTRAINT files_related_morphs_fk FOREIGN KEY (file_id) REFERENCES public.files(id) ON DELETE CASCADE;


--
-- Name: files files_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.files
    ADD CONSTRAINT files_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: i18n_locale i18n_locale_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.i18n_locale
    ADD CONSTRAINT i18n_locale_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: i18n_locale i18n_locale_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.i18n_locale
    ADD CONSTRAINT i18n_locale_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: links_refereridos links_refereridos_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.links_refereridos
    ADD CONSTRAINT links_refereridos_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: links_refereridos links_refereridos_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.links_refereridos
    ADD CONSTRAINT links_refereridos_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: personas personas_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas
    ADD CONSTRAINT personas_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: personas_datos_bancarios_links personas_datos_bancarios_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_bancarios_links
    ADD CONSTRAINT personas_datos_bancarios_links_fk FOREIGN KEY (persona_id) REFERENCES public.personas(id) ON DELETE CASCADE;


--
-- Name: personas_datos_bancarios_links personas_datos_bancarios_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_bancarios_links
    ADD CONSTRAINT personas_datos_bancarios_links_inv_fk FOREIGN KEY (dato_bancario_id) REFERENCES public.datos_bancarios(id) ON DELETE CASCADE;


--
-- Name: personas_datos_femeninos_links personas_datos_femeninos_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_femeninos_links
    ADD CONSTRAINT personas_datos_femeninos_links_fk FOREIGN KEY (persona_id) REFERENCES public.personas(id) ON DELETE CASCADE;


--
-- Name: personas_datos_femeninos_links personas_datos_femeninos_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_femeninos_links
    ADD CONSTRAINT personas_datos_femeninos_links_inv_fk FOREIGN KEY (dato_femenino_id) REFERENCES public.datos_femeninos(id) ON DELETE CASCADE;


--
-- Name: personas_datos_laborales_links personas_datos_laborales_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_laborales_links
    ADD CONSTRAINT personas_datos_laborales_links_fk FOREIGN KEY (persona_id) REFERENCES public.personas(id) ON DELETE CASCADE;


--
-- Name: personas_datos_laborales_links personas_datos_laborales_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_laborales_links
    ADD CONSTRAINT personas_datos_laborales_links_inv_fk FOREIGN KEY (dato_laboral_id) REFERENCES public.datos_laborales(id) ON DELETE CASCADE;


--
-- Name: personas_datos_otros_seguros_links personas_datos_otros_seguros_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_otros_seguros_links
    ADD CONSTRAINT personas_datos_otros_seguros_links_fk FOREIGN KEY (persona_id) REFERENCES public.personas(id) ON DELETE CASCADE;


--
-- Name: personas_datos_otros_seguros_links personas_datos_otros_seguros_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_otros_seguros_links
    ADD CONSTRAINT personas_datos_otros_seguros_links_inv_fk FOREIGN KEY (dato_otros_seguros_id) REFERENCES public.datos_otros_seguros(id) ON DELETE CASCADE;


--
-- Name: personas_datos_parientes_links personas_datos_parientes_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_parientes_links
    ADD CONSTRAINT personas_datos_parientes_links_fk FOREIGN KEY (persona_id) REFERENCES public.personas(id) ON DELETE CASCADE;


--
-- Name: personas_datos_parientes_links personas_datos_parientes_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_parientes_links
    ADD CONSTRAINT personas_datos_parientes_links_inv_fk FOREIGN KEY (dato_parientes_id) REFERENCES public.datos_parientes(id) ON DELETE CASCADE;


--
-- Name: personas_datos_personale_links personas_datos_personale_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_personale_links
    ADD CONSTRAINT personas_datos_personale_links_fk FOREIGN KEY (persona_id) REFERENCES public.personas(id) ON DELETE CASCADE;


--
-- Name: personas_datos_personale_links personas_datos_personale_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_personale_links
    ADD CONSTRAINT personas_datos_personale_links_inv_fk FOREIGN KEY (dato_personal_id) REFERENCES public.datos_personales(id) ON DELETE CASCADE;


--
-- Name: personas_datos_salud_links personas_datos_salud_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_salud_links
    ADD CONSTRAINT personas_datos_salud_links_fk FOREIGN KEY (persona_id) REFERENCES public.personas(id) ON DELETE CASCADE;


--
-- Name: personas_datos_salud_links personas_datos_salud_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_salud_links
    ADD CONSTRAINT personas_datos_salud_links_inv_fk FOREIGN KEY (datos_salud_id) REFERENCES public.datos_saluds(id) ON DELETE CASCADE;


--
-- Name: personas_datos_tercero_links personas_datos_tercero_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_tercero_links
    ADD CONSTRAINT personas_datos_tercero_links_fk FOREIGN KEY (persona_id) REFERENCES public.personas(id) ON DELETE CASCADE;


--
-- Name: personas_datos_tercero_links personas_datos_tercero_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_datos_tercero_links
    ADD CONSTRAINT personas_datos_tercero_links_inv_fk FOREIGN KEY (dato_terceros_id) REFERENCES public.datos_terceros(id) ON DELETE CASCADE;


--
-- Name: personas_link_refererido_links personas_link_refererido_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_link_refererido_links
    ADD CONSTRAINT personas_link_refererido_links_fk FOREIGN KEY (persona_id) REFERENCES public.personas(id) ON DELETE CASCADE;


--
-- Name: personas_link_refererido_links personas_link_refererido_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas_link_refererido_links
    ADD CONSTRAINT personas_link_refererido_links_inv_fk FOREIGN KEY (link_refererido_id) REFERENCES public.links_refereridos(id) ON DELETE CASCADE;


--
-- Name: personas personas_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.personas
    ADD CONSTRAINT personas_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: solicitudes solicitudes_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes
    ADD CONSTRAINT solicitudes_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: solicitudes_datos_bancarios_links solicitudes_datos_bancarios_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_bancarios_links
    ADD CONSTRAINT solicitudes_datos_bancarios_links_fk FOREIGN KEY (solicitud_id) REFERENCES public.solicitudes(id) ON DELETE CASCADE;


--
-- Name: solicitudes_datos_bancarios_links solicitudes_datos_bancarios_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_bancarios_links
    ADD CONSTRAINT solicitudes_datos_bancarios_links_inv_fk FOREIGN KEY (dato_bancario_id) REFERENCES public.datos_bancarios(id) ON DELETE CASCADE;


--
-- Name: solicitudes_datos_femeninos_links solicitudes_datos_femeninos_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_femeninos_links
    ADD CONSTRAINT solicitudes_datos_femeninos_links_fk FOREIGN KEY (solicitud_id) REFERENCES public.solicitudes(id) ON DELETE CASCADE;


--
-- Name: solicitudes_datos_femeninos_links solicitudes_datos_femeninos_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_femeninos_links
    ADD CONSTRAINT solicitudes_datos_femeninos_links_inv_fk FOREIGN KEY (dato_femenino_id) REFERENCES public.datos_femeninos(id) ON DELETE CASCADE;


--
-- Name: solicitudes_datos_laborales_links solicitudes_datos_laborales_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_laborales_links
    ADD CONSTRAINT solicitudes_datos_laborales_links_fk FOREIGN KEY (solicitud_id) REFERENCES public.solicitudes(id) ON DELETE CASCADE;


--
-- Name: solicitudes_datos_laborales_links solicitudes_datos_laborales_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_laborales_links
    ADD CONSTRAINT solicitudes_datos_laborales_links_inv_fk FOREIGN KEY (dato_laboral_id) REFERENCES public.datos_laborales(id) ON DELETE CASCADE;


--
-- Name: solicitudes_datos_otros_seguros_links solicitudes_datos_otros_seguros_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_otros_seguros_links
    ADD CONSTRAINT solicitudes_datos_otros_seguros_links_fk FOREIGN KEY (solicitud_id) REFERENCES public.solicitudes(id) ON DELETE CASCADE;


--
-- Name: solicitudes_datos_otros_seguros_links solicitudes_datos_otros_seguros_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_otros_seguros_links
    ADD CONSTRAINT solicitudes_datos_otros_seguros_links_inv_fk FOREIGN KEY (dato_otros_seguros_id) REFERENCES public.datos_otros_seguros(id) ON DELETE CASCADE;


--
-- Name: solicitudes_datos_parientes_links solicitudes_datos_parientes_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_parientes_links
    ADD CONSTRAINT solicitudes_datos_parientes_links_fk FOREIGN KEY (solicitud_id) REFERENCES public.solicitudes(id) ON DELETE CASCADE;


--
-- Name: solicitudes_datos_parientes_links solicitudes_datos_parientes_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_parientes_links
    ADD CONSTRAINT solicitudes_datos_parientes_links_inv_fk FOREIGN KEY (dato_parientes_id) REFERENCES public.datos_parientes(id) ON DELETE CASCADE;


--
-- Name: solicitudes_datos_personales_links solicitudes_datos_personales_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_personales_links
    ADD CONSTRAINT solicitudes_datos_personales_links_fk FOREIGN KEY (solicitud_id) REFERENCES public.solicitudes(id) ON DELETE CASCADE;


--
-- Name: solicitudes_datos_personales_links solicitudes_datos_personales_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_personales_links
    ADD CONSTRAINT solicitudes_datos_personales_links_inv_fk FOREIGN KEY (dato_personal_id) REFERENCES public.datos_personales(id) ON DELETE CASCADE;


--
-- Name: solicitudes_datos_salud_links solicitudes_datos_salud_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_salud_links
    ADD CONSTRAINT solicitudes_datos_salud_links_fk FOREIGN KEY (solicitud_id) REFERENCES public.solicitudes(id) ON DELETE CASCADE;


--
-- Name: solicitudes_datos_salud_links solicitudes_datos_salud_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_salud_links
    ADD CONSTRAINT solicitudes_datos_salud_links_inv_fk FOREIGN KEY (datos_salud_id) REFERENCES public.datos_saluds(id) ON DELETE CASCADE;


--
-- Name: solicitudes_datos_terceros_links solicitudes_datos_terceros_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_terceros_links
    ADD CONSTRAINT solicitudes_datos_terceros_links_fk FOREIGN KEY (solicitud_id) REFERENCES public.solicitudes(id) ON DELETE CASCADE;


--
-- Name: solicitudes_datos_terceros_links solicitudes_datos_terceros_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes_datos_terceros_links
    ADD CONSTRAINT solicitudes_datos_terceros_links_inv_fk FOREIGN KEY (dato_terceros_id) REFERENCES public.datos_terceros(id) ON DELETE CASCADE;


--
-- Name: solicitudes solicitudes_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.solicitudes
    ADD CONSTRAINT solicitudes_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: strapi_api_token_permissions strapi_api_token_permissions_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_api_token_permissions
    ADD CONSTRAINT strapi_api_token_permissions_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: strapi_api_token_permissions_token_links strapi_api_token_permissions_token_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_api_token_permissions_token_links
    ADD CONSTRAINT strapi_api_token_permissions_token_links_fk FOREIGN KEY (api_token_permission_id) REFERENCES public.strapi_api_token_permissions(id) ON DELETE CASCADE;


--
-- Name: strapi_api_token_permissions_token_links strapi_api_token_permissions_token_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_api_token_permissions_token_links
    ADD CONSTRAINT strapi_api_token_permissions_token_links_inv_fk FOREIGN KEY (api_token_id) REFERENCES public.strapi_api_tokens(id) ON DELETE CASCADE;


--
-- Name: strapi_api_token_permissions strapi_api_token_permissions_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_api_token_permissions
    ADD CONSTRAINT strapi_api_token_permissions_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: strapi_api_tokens strapi_api_tokens_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_api_tokens
    ADD CONSTRAINT strapi_api_tokens_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: strapi_api_tokens strapi_api_tokens_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_api_tokens
    ADD CONSTRAINT strapi_api_tokens_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: strapi_transfer_token_permissions strapi_transfer_token_permissions_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_transfer_token_permissions
    ADD CONSTRAINT strapi_transfer_token_permissions_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: strapi_transfer_token_permissions_token_links strapi_transfer_token_permissions_token_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_transfer_token_permissions_token_links
    ADD CONSTRAINT strapi_transfer_token_permissions_token_links_fk FOREIGN KEY (transfer_token_permission_id) REFERENCES public.strapi_transfer_token_permissions(id) ON DELETE CASCADE;


--
-- Name: strapi_transfer_token_permissions_token_links strapi_transfer_token_permissions_token_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_transfer_token_permissions_token_links
    ADD CONSTRAINT strapi_transfer_token_permissions_token_links_inv_fk FOREIGN KEY (transfer_token_id) REFERENCES public.strapi_transfer_tokens(id) ON DELETE CASCADE;


--
-- Name: strapi_transfer_token_permissions strapi_transfer_token_permissions_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_transfer_token_permissions
    ADD CONSTRAINT strapi_transfer_token_permissions_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: strapi_transfer_tokens strapi_transfer_tokens_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_transfer_tokens
    ADD CONSTRAINT strapi_transfer_tokens_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: strapi_transfer_tokens strapi_transfer_tokens_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.strapi_transfer_tokens
    ADD CONSTRAINT strapi_transfer_tokens_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: up_permissions up_permissions_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.up_permissions
    ADD CONSTRAINT up_permissions_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: up_permissions_role_links up_permissions_role_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.up_permissions_role_links
    ADD CONSTRAINT up_permissions_role_links_fk FOREIGN KEY (permission_id) REFERENCES public.up_permissions(id) ON DELETE CASCADE;


--
-- Name: up_permissions_role_links up_permissions_role_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.up_permissions_role_links
    ADD CONSTRAINT up_permissions_role_links_inv_fk FOREIGN KEY (role_id) REFERENCES public.up_roles(id) ON DELETE CASCADE;


--
-- Name: up_permissions up_permissions_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.up_permissions
    ADD CONSTRAINT up_permissions_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: up_roles up_roles_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.up_roles
    ADD CONSTRAINT up_roles_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: up_roles up_roles_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.up_roles
    ADD CONSTRAINT up_roles_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: up_users up_users_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.up_users
    ADD CONSTRAINT up_users_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: up_users_role_links up_users_role_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.up_users_role_links
    ADD CONSTRAINT up_users_role_links_fk FOREIGN KEY (user_id) REFERENCES public.up_users(id) ON DELETE CASCADE;


--
-- Name: up_users_role_links up_users_role_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.up_users_role_links
    ADD CONSTRAINT up_users_role_links_inv_fk FOREIGN KEY (role_id) REFERENCES public.up_roles(id) ON DELETE CASCADE;


--
-- Name: up_users up_users_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.up_users
    ADD CONSTRAINT up_users_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: upload_folders upload_folders_created_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.upload_folders
    ADD CONSTRAINT upload_folders_created_by_id_fk FOREIGN KEY (created_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
-- Name: upload_folders_parent_links upload_folders_parent_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.upload_folders_parent_links
    ADD CONSTRAINT upload_folders_parent_links_fk FOREIGN KEY (folder_id) REFERENCES public.upload_folders(id) ON DELETE CASCADE;


--
-- Name: upload_folders_parent_links upload_folders_parent_links_inv_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.upload_folders_parent_links
    ADD CONSTRAINT upload_folders_parent_links_inv_fk FOREIGN KEY (inv_folder_id) REFERENCES public.upload_folders(id) ON DELETE CASCADE;


--
-- Name: upload_folders upload_folders_updated_by_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: root
--

ALTER TABLE ONLY public.upload_folders
    ADD CONSTRAINT upload_folders_updated_by_id_fk FOREIGN KEY (updated_by_id) REFERENCES public.admin_users(id) ON DELETE SET NULL;


--
--

