2022-09-20 14:02:09 INFO i.a.v.j.JsonSchemaValidator(test):71 - JSON schema validation failed. errors: $.method: must be a constant value STANDARD, $.method: does not have a value in the enumeration [STANDARD] 2022-09-20 14:02:09 INFO i.a.v.j.JsonSchemaValidator(test):71 - JSON schema validation failed. errors: $.method: must be a constant value Standard 2022-09-20 14:02:09 INFO i.a.v.j.JsonSchemaValidator(test):71 - JSON schema validation failed. errors: $.credential.hmac_key_secret: object found, string expected, $.credential.hmac_key_access_id: object found, string expected 2022-09-20 14:02:09 INFO i.a.a.LoggingTrackingClient(track):43 - track. version: null, userId: null, action: Connector Jobs, metadata: {job_type=sync, config.destination.big_query_client_buffer_size_mb=set, namespace_definition=source, config.source.ssl_mode.mode=preferred, config.destination.dataset_location=US, config.source.port=set, frequency=60 min, connector_source_definition_id=435bb9a5-7887-4809-aa58-28c27df0d7ad, workspace_id=04e3d7e6-b345-4aaf-8bbe-a89b52b3426b, attempt_stage=STARTED, config.source.password._secret=set, config.destination.project_id=set, attempt_id=1, connector_destination=BigQuery, catalog.sync_mode.incremental=set, connector_destination_docker_repository=airbyte/destination-bigquery, table_prefix=false, config.destination.credentials_json._secret=set, workspace_name=04e3d7e6-b345-4aaf-8bbe-a89b52b3426b, catalog.destination_sync_mode.overwrite=set, number_of_streams=23, config.destination.dataset_id=set, catalog.destination_sync_mode.append_dedup=set, connector_source=MySQL, config.source.host=set, config.source.tunnel_method.tunnel_method=NO_TUNNEL, config.destination.transformation_priority=interactive, config.source.username=set, connector_source_docker_repository=airbyte/source-mysql, config.source.database=set, config.source.ssl=true, config.source.replication_method.method=CDC, catalog.sync_mode.full_refresh=set, connection_id=96d192d2-4632-4d09-81af-7c6528c1a253, job_id=22447, connector_source_version=0.6.13, connector_destination_version=1.2.1, operation.normalization=1, operation_count=1, connector_destination_definition_id=22f6c74f-5699-40ff-833c-4a879ea40133} 2022-09-20 14:02:09 INFO i.a.w.t.TemporalAttemptExecution(get):106 - Docker volume job log path: /tmp/workspace/22447/0/logs.log 2022-09-20 14:02:09 INFO i.a.w.t.TemporalAttemptExecution(get):111 - Executing worker wrapper. Airbyte version: 0.40.7 2022-09-20 14:02:09 INFO i.a.c.i.LineGobbler(voidCall):114 - 2022-09-20 14:02:09 INFO i.a.c.i.LineGobbler(voidCall):114 - ----- START CHECK ----- 2022-09-20 14:02:09 INFO i.a.c.i.LineGobbler(voidCall):114 - 2022-09-20 14:02:09 INFO i.a.c.i.LineGobbler(voidCall):114 - Checking if airbyte/source-mysql:0.6.13 exists... 2022-09-20 14:02:09 INFO i.a.c.i.LineGobbler(voidCall):114 - airbyte/source-mysql:0.6.13 was found locally. 2022-09-20 14:02:09 INFO i.a.w.p.DockerProcessFactory(create):119 - Creating docker container = source-mysql-check-22447-0-cjwrz with resources io.airbyte.config.ResourceRequirements@376f304[cpuRequest=,cpuLimit=,memoryRequest=,memoryLimit=] 2022-09-20 14:02:09 INFO i.a.w.p.DockerProcessFactory(create):163 - Preparing command: docker run --rm --init -i -w /data/22447/0 --log-driver none --name source-mysql-check-22447-0-cjwrz --network host -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -e DEPLOYMENT_MODE=OSS -e USE_STREAM_CAPABLE_STATE=true -e AIRBYTE_ROLE= -e WORKER_ENVIRONMENT=DOCKER -e WORKER_CONNECTOR_IMAGE=airbyte/source-mysql:0.6.13 -e WORKER_JOB_ATTEMPT=0 -e AIRBYTE_VERSION=0.40.7 -e WORKER_JOB_ID=22447 airbyte/source-mysql:0.6.13 check --config source_config.json 2022-09-20 14:02:12 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - starting source: class io.airbyte.integrations.source.mysql.MySqlSource 2022-09-20 14:02:12 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - integration args: {check=null, config=source_config.json} 2022-09-20 14:02:12 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - Running integration: io.airbyte.integrations.base.ssh.SshWrappedSource 2022-09-20 14:02:12 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - Command: CHECK 2022-09-20 14:02:12 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - Integration config: IntegrationConfig{command=CHECK, configPath='source_config.json', catalogPath='null', statePath='null'} 2022-09-20 14:02:13 WARN i.a.w.i.DefaultAirbyteStreamFactory(internalLog):100 - Unknown keyword order - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2022-09-20 14:02:13 WARN i.a.w.i.DefaultAirbyteStreamFactory(internalLog):100 - Unknown keyword examples - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2022-09-20 14:02:13 WARN i.a.w.i.DefaultAirbyteStreamFactory(internalLog):100 - Unknown keyword airbyte_secret - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2022-09-20 14:02:13 WARN i.a.w.i.DefaultAirbyteStreamFactory(internalLog):100 - Unknown keyword multiline - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2022-09-20 14:02:13 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - Starting connection with method: NO_TUNNEL 2022-09-20 14:02:13 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - HikariPool-1 - Starting... 2022-09-20 14:02:13 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - HikariPool-1 - Start completed. 2022-09-20 14:02:14 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - Attempting to get metadata from the database to see if we can connect. 2022-09-20 14:02:14 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - HikariPool-1 - Shutdown initiated... 2022-09-20 14:02:14 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - HikariPool-1 - Shutdown completed. 2022-09-20 14:02:14 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - Completed integration: io.airbyte.integrations.base.ssh.SshWrappedSource 2022-09-20 14:02:14 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - completed source: class io.airbyte.integrations.source.mysql.MySqlSource 2022-09-20 14:02:14 INFO i.a.w.t.TemporalAttemptExecution(get):132 - Stopping cancellation check scheduling... 2022-09-20 14:02:14 INFO i.a.c.i.LineGobbler(voidCall):114 - 2022-09-20 14:02:14 INFO i.a.c.i.LineGobbler(voidCall):114 - ----- END CHECK ----- 2022-09-20 14:02:14 INFO i.a.c.i.LineGobbler(voidCall):114 - 2022-09-20 14:02:14 INFO i.a.w.t.TemporalAttemptExecution(get):106 - Docker volume job log path: /tmp/workspace/22447/0/logs.log 2022-09-20 14:02:14 INFO i.a.w.t.TemporalAttemptExecution(get):111 - Executing worker wrapper. Airbyte version: 0.40.7 2022-09-20 14:02:14 INFO i.a.c.i.LineGobbler(voidCall):114 - 2022-09-20 14:02:14 INFO i.a.c.i.LineGobbler(voidCall):114 - ----- START CHECK ----- 2022-09-20 14:02:14 INFO i.a.c.i.LineGobbler(voidCall):114 - 2022-09-20 14:02:14 INFO i.a.c.i.LineGobbler(voidCall):114 - Checking if airbyte/destination-bigquery:1.2.1 exists... 2022-09-20 14:02:14 INFO i.a.c.i.LineGobbler(voidCall):114 - airbyte/destination-bigquery:1.2.1 was found locally. 2022-09-20 14:02:14 INFO i.a.w.p.DockerProcessFactory(create):119 - Creating docker container = destination-bigquery-check-22447-0-ixjqp with resources io.airbyte.config.ResourceRequirements@376f304[cpuRequest=,cpuLimit=,memoryRequest=,memoryLimit=] 2022-09-20 14:02:14 INFO i.a.w.p.DockerProcessFactory(create):163 - Preparing command: docker run --rm --init -i -w /data/22447/0 --log-driver none --name destination-bigquery-check-22447-0-ixjqp --network host -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -e DEPLOYMENT_MODE=OSS -e USE_STREAM_CAPABLE_STATE=true -e AIRBYTE_ROLE= -e WORKER_ENVIRONMENT=DOCKER -e WORKER_CONNECTOR_IMAGE=airbyte/destination-bigquery:1.2.1 -e WORKER_JOB_ATTEMPT=0 -e AIRBYTE_VERSION=0.40.7 -e WORKER_JOB_ID=22447 airbyte/destination-bigquery:1.2.1 check --config source_config.json 2022-09-20 14:02:15 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - integration args: {check=null, config=source_config.json} 2022-09-20 14:02:15 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - Running integration: io.airbyte.integrations.destination.bigquery.BigQueryDestination 2022-09-20 14:02:15 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - Command: CHECK 2022-09-20 14:02:15 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - Integration config: IntegrationConfig{command=CHECK, configPath='source_config.json', catalogPath='null', statePath='null'} 2022-09-20 14:02:15 WARN i.a.w.i.DefaultAirbyteStreamFactory(internalLog):100 - Unknown keyword order - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2022-09-20 14:02:15 WARN i.a.w.i.DefaultAirbyteStreamFactory(internalLog):100 - Unknown keyword airbyte_secret - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2022-09-20 14:02:15 WARN i.a.w.i.DefaultAirbyteStreamFactory(internalLog):100 - Unknown keyword examples - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2022-09-20 14:02:15 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - Selected loading method is set to: GCS 2022-09-20 14:02:17 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - S3 format config: {"format_type":"CSV","flattening":"No flattening"} 2022-09-20 14:02:17 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - Started testing if all required credentials assigned to user for single file uploading 2022-09-20 14:02:17 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - Finished checking for normal upload mode 2022-09-20 14:02:17 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - Started testing if all required credentials assigned to user for multipart upload 2022-09-20 14:02:18 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - Initiated multipart upload to airbyte-bigquery-staging-1/gwat_live/test_1663682537860 with full ID ABPnzm7dKgAAv0I2_6KgU0qAfPgtK5kiA-ilOqZY4uDmefFCPYUys5XIEWwCEakerRxQX8g 2022-09-20 14:02:18 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - Called close() on [MultipartOutputStream for parts 1 - 10000] 2022-09-20 14:02:18 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - Called close() on [MultipartOutputStream for parts 1 - 10000] 2022-09-20 14:02:18 WARN i.a.w.i.DefaultAirbyteStreamFactory(internalLog):100 - [MultipartOutputStream for parts 1 - 10000] is already closed 2022-09-20 14:02:18 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - [Manager uploading to airbyte-bigquery-staging-1/gwat_live/test_1663682537860 with id ABPnzm7dK...kerRxQX8g]: Uploading leftover stream [Part number 1 containing 3.34 MB] 2022-09-20 14:02:18 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - [Manager uploading to airbyte-bigquery-staging-1/gwat_live/test_1663682537860 with id ABPnzm7dK...kerRxQX8g]: Finished uploading [Part number 1 containing 3.34 MB] 2022-09-20 14:02:18 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - [Manager uploading to airbyte-bigquery-staging-1/gwat_live/test_1663682537860 with id ABPnzm7dK...kerRxQX8g]: Completed 2022-09-20 14:02:19 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - Finished verification for multipart upload mode 2022-09-20 14:02:20 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - Completed integration: io.airbyte.integrations.destination.bigquery.BigQueryDestination 2022-09-20 14:02:20 INFO i.a.w.t.TemporalAttemptExecution(get):132 - Stopping cancellation check scheduling... 2022-09-20 14:02:20 INFO i.a.c.i.LineGobbler(voidCall):114 - 2022-09-20 14:02:20 INFO i.a.c.i.LineGobbler(voidCall):114 - ----- END CHECK ----- 2022-09-20 14:02:20 INFO i.a.c.i.LineGobbler(voidCall):114 - 2022-09-20 14:04:25 INFO i.a.w.t.TemporalAttemptExecution(get):106 - Docker volume job log path: /tmp/workspace/22447/0/logs.log 2022-09-20 14:04:25 INFO i.a.w.t.TemporalAttemptExecution(get):111 - Executing worker wrapper. Airbyte version: 0.40.7 2022-09-20 14:04:25 INFO i.a.c.f.EnvVariableFeatureFlags(getEnvOrDefault):49 - Using default value for environment variable LOG_CONNECTOR_MESSAGES: 'false' 2022-09-20 14:04:25 INFO i.a.c.EnvConfigs(getEnvOrDefault):1096 - Using default value for environment variable METRIC_CLIENT: '' 2022-09-20 14:04:25 WARN i.a.m.l.MetricClientFactory(initialize):60 - Metric client is already initialized to 2022-09-20 14:04:25 INFO i.a.c.f.EnvVariableFeatureFlags(getEnvOrDefault):49 - Using default value for environment variable LOG_CONNECTOR_MESSAGES: 'false' 2022-09-20 14:04:25 INFO i.a.w.g.DefaultReplicationWorker(run):122 - start sync worker. job id: 22447 attempt id: 0 2022-09-20 14:04:25 INFO i.a.c.i.LineGobbler(voidCall):114 - 2022-09-20 14:04:25 INFO i.a.c.i.LineGobbler(voidCall):114 - ----- START REPLICATION ----- 2022-09-20 14:04:25 INFO i.a.c.i.LineGobbler(voidCall):114 - 2022-09-20 14:04:25 INFO i.a.w.g.DefaultReplicationWorker(run):135 - configured sync modes: {t_profiles.employment_history=incremental - append_dedup, t_profiles.childcare_experiences=incremental - append_dedup, t_profiles.qualifications=incremental - append_dedup, t_profiles.employment_duties=incremental - append_dedup, t_profiles.healths=incremental - append_dedup, t_profiles.certificates=incremental - append_dedup, t_profiles.activity_log=incremental - append_dedup, t_profiles.licences=incremental - append_dedup, t_profiles.convictions=incremental - append_dedup, t_profiles.skills=incremental - append_dedup, t_profiles.education=incremental - append_dedup, t_profiles.chores=incremental - append_dedup, t_profiles.notification_settings=incremental - append_dedup, t_profiles.language_interests=incremental - append_dedup, t_profiles.statuses=incremental - append_dedup, t_profiles.resumes=incremental - append_dedup, t_profiles.characteristics=incremental - append_dedup, t_profiles.languages=incremental - append_dedup, t_profiles.dietaries=incremental - append_dedup, t_profiles.v_profile_summary=full_refresh - overwrite, t_profiles.requests=incremental - append_dedup, t_profiles.position_preferences=incremental - append_dedup, t_profiles.trip_preferences=incremental - append_dedup} 2022-09-20 14:04:25 INFO i.a.w.i.DefaultAirbyteDestination(start):69 - Running destination... 2022-09-20 14:04:25 INFO i.a.c.i.LineGobbler(voidCall):114 - Checking if airbyte/destination-bigquery:1.2.1 exists... 2022-09-20 14:04:25 INFO i.a.c.i.LineGobbler(voidCall):114 - airbyte/destination-bigquery:1.2.1 was found locally. 2022-09-20 14:04:25 INFO i.a.w.p.DockerProcessFactory(create):119 - Creating docker container = destination-bigquery-write-22447-0-edvxk with resources io.airbyte.config.ResourceRequirements@1e48e8a1[cpuRequest=,cpuLimit=,memoryRequest=,memoryLimit=] 2022-09-20 14:04:25 INFO i.a.w.p.DockerProcessFactory(create):163 - Preparing command: docker run --rm --init -i -w /data/22447/0 --log-driver none --name destination-bigquery-write-22447-0-edvxk --network host -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -e DEPLOYMENT_MODE=OSS -e USE_STREAM_CAPABLE_STATE=true -e AIRBYTE_ROLE= -e WORKER_ENVIRONMENT=DOCKER -e WORKER_CONNECTOR_IMAGE=airbyte/destination-bigquery:1.2.1 -e WORKER_JOB_ATTEMPT=0 -e AIRBYTE_VERSION=0.40.7 -e WORKER_JOB_ID=22447 airbyte/destination-bigquery:1.2.1 write --config destination_config.json --catalog destination_catalog.json 2022-09-20 14:04:25 INFO i.a.c.i.LineGobbler(voidCall):114 - Checking if airbyte/source-mysql:0.6.13 exists... 2022-09-20 14:04:25 INFO i.a.c.i.LineGobbler(voidCall):114 - airbyte/source-mysql:0.6.13 was found locally. 2022-09-20 14:04:25 INFO i.a.w.p.DockerProcessFactory(create):119 - Creating docker container = source-mysql-read-22447-0-nqwhe with resources io.airbyte.config.ResourceRequirements@52260497[cpuRequest=,cpuLimit=,memoryRequest=,memoryLimit=] 2022-09-20 14:04:25 INFO i.a.w.p.DockerProcessFactory(create):163 - Preparing command: docker run --rm --init -i -w /data/22447/0 --log-driver none --name source-mysql-read-22447-0-nqwhe --network host -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -e DEPLOYMENT_MODE=OSS -e USE_STREAM_CAPABLE_STATE=true -e AIRBYTE_ROLE= -e WORKER_ENVIRONMENT=DOCKER -e WORKER_CONNECTOR_IMAGE=airbyte/source-mysql:0.6.13 -e WORKER_JOB_ATTEMPT=0 -e AIRBYTE_VERSION=0.40.7 -e WORKER_JOB_ID=22447 airbyte/source-mysql:0.6.13 read --config source_config.json --catalog source_catalog.json --state input_state.json 2022-09-20 14:04:25 INFO i.a.w.g.DefaultReplicationWorker(lambda$getDestinationOutputRunnable$7):435 - Destination output thread started. 2022-09-20 14:04:25 INFO i.a.w.g.DefaultReplicationWorker(run):177 - Waiting for source and destination threads to complete. 2022-09-20 14:04:25 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):322 - Replication thread started. 2022-09-20 14:04:26 source > starting source: class io.airbyte.integrations.source.mysql.MySqlSource 2022-09-20 14:04:26 source > integration args: {read=null, catalog=source_catalog.json, state=input_state.json, config=source_config.json} 2022-09-20 14:04:26 source > Running integration: io.airbyte.integrations.base.ssh.SshWrappedSource 2022-09-20 14:04:26 source > Command: READ 2022-09-20 14:04:26 source > Integration config: IntegrationConfig{command=READ, configPath='source_config.json', catalogPath='source_catalog.json', statePath='input_state.json'} 2022-09-20 14:04:26 destination > integration args: {catalog=destination_catalog.json, write=null, config=destination_config.json} 2022-09-20 14:04:26 destination > Running integration: io.airbyte.integrations.destination.bigquery.BigQueryDestination 2022-09-20 14:04:26 destination > Command: WRITE 2022-09-20 14:04:26 destination > Integration config: IntegrationConfig{command=WRITE, configPath='destination_config.json', catalogPath='destination_catalog.json', statePath='null'} 2022-09-20 14:04:26 destination > Unknown keyword order - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2022-09-20 14:04:26 destination > Unknown keyword airbyte_secret - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2022-09-20 14:04:26 destination > Unknown keyword examples - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2022-09-20 14:04:26 source > Unknown keyword order - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2022-09-20 14:04:26 source > Unknown keyword examples - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2022-09-20 14:04:26 source > Unknown keyword airbyte_secret - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2022-09-20 14:04:26 source > Unknown keyword multiline - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2022-09-20 14:04:26 destination > Selected loading method is set to: GCS 2022-09-20 14:04:26 destination > S3 format config: {"format_type":"AVRO","flattening":"No flattening"} 2022-09-20 14:04:26 destination > All tmp files will be removed from GCS when replication is finished 2022-09-20 14:04:26 source > Starting connection with method: NO_TUNNEL 2022-09-20 14:04:26 source > Global state manager selected to manage state object with type GLOBAL. 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='language_interests', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='chores', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='activity_log', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='qualifications', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='v_profile_summary', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='employment_history', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='languages', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='healths', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='convictions', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='characteristics', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='position_preferences', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='childcare_experiences', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='skills', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='requests', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='notification_settings', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='resumes', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='trip_preferences', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='employment_duties', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='dietaries', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='statuses', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='licences', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='certificates', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Found matching cursor in state. Stream: AirbyteStreamNameNamespacePair{name='education', namespace='t_profiles'}. Cursor Field: null Value: null 2022-09-20 14:04:26 source > Initialized CDC state with: io.airbyte.integrations.source.relationaldb.models.CdcState@22680f52[state={"mysql_cdc_offset":{"{\"schema\":null,\"payload\":[\"t_profiles\",{\"server\":\"t_profiles\"}]}":"{\"transaction_id\":null,\"ts_sec\":1663676370,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16765990,\"row\":1,\"server_id\":239712215,\"event\":4}"},"mysql_db_history":"{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955574,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"\",\"ddl\":\"SET character_set_server=utf8mb4, collation_server=utf8mb4_0900_ai_ci\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`activity_log`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`certificates`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`characteristics`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`childcare_experiences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`chores`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`convictions`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`dietaries`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`education`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`employment_duties`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`employment_history`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`healths`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`language_interests`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`languages`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`licences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`notification_settings`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`position_preferences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`qualifications`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`requests`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`resumes`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`skills`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`statuses`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`trip_preferences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP DATABASE IF EXISTS `t_profiles`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DATABASE `t_profiles` CHARSET latin1 COLLATE latin1_swedish_ci\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"USE `t_profiles`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `activity_log` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `table_name` char(255) DEFAULT NULL,\\n `field_name` char(255) DEFAULT NULL,\\n `record_id` bigint unsigned DEFAULT NULL,\\n `value` text,\\n `time` int DEFAULT NULL,\\n `staff_id` int unsigned DEFAULT NULL,\\n `action` tinyint unsigned NOT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_activity_log_staff_id` (`staff_id`),\\n CONSTRAINT `fk_t_profiles_activity_log_staff_id` FOREIGN KEY (`staff_id`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=1006104 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"activity_log\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"table_name\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":255,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"field_name\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":255,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"record_id\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"value\",\"jdbcType\":12,\"typeName\":\"TEXT\",\"typeExpression\":\"TEXT\",\"charsetName\":\"latin1\",\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"time\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"staff_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"action\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `certificates` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_certificates_cb` (`_cb`),\\n KEY `fk_t_profiles_certificates_lmb` (`_lmb`),\\n KEY `fk_certificates_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_certificates_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_certificates_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_certificates_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=58532 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"certificates\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `characteristics` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `description` varchar(500) DEFAULT NULL,\\n `interests` varchar(500) DEFAULT NULL,\\n `positive_traits` varchar(500) DEFAULT NULL,\\n `religion` varchar(100) DEFAULT NULL,\\n `smoking_habit` varchar(100) DEFAULT NULL,\\n `lived_from_home` tinyint(1) DEFAULT NULL,\\n `lived_from_home_details` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_character_travellers` (`cid`),\\n KEY `fk_t_profiles_characteristics_cb` (`_cb`),\\n KEY `fk_t_profiles_characteristics_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_character_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_characteristics_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_characteristics_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2811 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"characteristics\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\… 2022-09-20 14:04:26 source > HikariPool-1 - Starting... 2022-09-20 14:04:26 source > HikariPool-1 - Start completed. 2022-09-20 14:04:27 destination > Creating BigQuery staging message consumer with staging ID de1db758-f051-4d86-8219-65ede78a9c06 at 2022-09-20T14:04:26.844Z 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=position_preferences, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_pmv_position_preferences}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_position_preferences}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=employment_history, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_qdw_employment_history}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_employment_history}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=employment_duties, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dly_employment_duties}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_employment_duties}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=dietaries, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_hpg_dietaries}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_dietaries}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=statuses, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ujr_statuses}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_statuses}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=healths, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_rck_healths}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_healths}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=convictions, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_pur_convictions}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_convictions}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=licences, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dyh_licences}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_licences}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=skills, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_kxp_skills}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_skills}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=qualifications, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_onh_qualifications}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_qualifications}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=childcare_experiences, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_vqo_childcare_experiences}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_childcare_experiences}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=certificates, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ame_certificates}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_certificates}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=requests, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_xvp_requests}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_requests}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=chores, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_nhk_chores}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_chores}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=language_interests, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ynu_language_interests}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_language_interests}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=activity_log, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_wfy_activity_log}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_activity_log}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=resumes, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dmv_resumes}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_resumes}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=characteristics, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_mrg_characteristics}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_characteristics}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=education, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_tpv_education}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_education}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=v_profile_summary, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ich_v_profile_summary}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_v_profile_summary}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=overwrite, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=trip_preferences, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_tgn_trip_preferences}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_trip_preferences}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=notification_settings, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_css_notification_settings}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_notification_settings}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > BigQuery write config: BigQueryWriteConfig[streamName=languages, namespace=t_profiles, datasetId=t_profiles, datasetLocation=US, tmpTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_kzy_languages}}, targetTableId=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_languages}}, tableSchema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, syncMode=append_dedup, stagedFiles=[]] 2022-09-20 14:04:27 destination > class io.airbyte.integrations.destination.buffered_stream_consumer.BufferedStreamConsumer started. 2022-09-20 14:04:27 destination > Preparing tmp tables in destination started for 23 streams 2022-09-20 14:04:27 destination > Creating dataset t_profiles 2022-09-20 14:04:27 source > Internal schemas to exclude: [performance_schema, information_schema, mysql, sys] 2022-09-20 14:04:27 source > Table position_preferences column id (type INT[10]) -> false 2022-09-20 14:04:27 source > Table position_preferences column cid (type BIGINT UNSIGNED[20]) -> false 2022-09-20 14:04:27 source > Table position_preferences column family_with_2c_up (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table position_preferences column family_with_single_parent (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table position_preferences column family_with_pets (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table position_preferences column family_with_special_needs (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table position_preferences column family_with_sole_in_charge (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table position_preferences column work_weekends (type VARCHAR[50]) -> false 2022-09-20 14:04:27 source > Table position_preferences column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table position_preferences column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table position_preferences column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table position_preferences column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table employment_history column id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table employment_history column order_num (type INT[10]) -> false 2022-09-20 14:04:27 source > Table employment_history column resume_id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table employment_history column title (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table employment_history column company (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table employment_history column website (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table employment_history column date_from (type VARCHAR[30]) -> false 2022-09-20 14:04:27 source > Table employment_history column date_to (type VARCHAR[30]) -> false 2022-09-20 14:04:27 source > Table employment_history column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table employment_history column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table employment_history column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table employment_history column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table employment_duties column id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table employment_duties column order_num (type INT[10]) -> false 2022-09-20 14:04:27 source > Table employment_duties column resume_id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table employment_duties column employment_id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table employment_duties column details (type VARCHAR[200]) -> false 2022-09-20 14:04:27 source > Table employment_duties column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table employment_duties column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table employment_duties column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table employment_duties column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table dietaries column id (type INT[10]) -> false 2022-09-20 14:04:27 source > Table dietaries column cid (type BIGINT UNSIGNED[20]) -> false 2022-09-20 14:04:27 source > Table dietaries column has_requirements (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table dietaries column requirements (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table dietaries column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table dietaries column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table dietaries column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table dietaries column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table statuses column id (type INT[10]) -> false 2022-09-20 14:04:27 source > Table statuses column cid (type BIGINT UNSIGNED[20]) -> false 2022-09-20 14:04:27 source > Table statuses column aupair_status (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table statuses column aupair_step_index (type SMALLINT UNSIGNED[5]) -> false 2022-09-20 14:04:27 source > Table statuses column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table statuses column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table statuses column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table statuses column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table healths column id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table healths column cid (type BIGINT UNSIGNED[20]) -> false 2022-09-20 14:04:27 source > Table healths column type (type VARCHAR[32]) -> false 2022-09-20 14:04:27 source > Table healths column description (type VARCHAR[1024]) -> false 2022-09-20 14:04:27 source > Table healths column user_answer (type TINYINT UNSIGNED[3]) -> false 2022-09-20 14:04:27 source > Table healths column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table healths column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table healths column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table healths column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table convictions column id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table convictions column cid (type BIGINT UNSIGNED[20]) -> false 2022-09-20 14:04:27 source > Table convictions column type (type VARCHAR[32]) -> false 2022-09-20 14:04:27 source > Table convictions column description (type VARCHAR[1024]) -> false 2022-09-20 14:04:27 source > Table convictions column date_occurred (type INT[10]) -> false 2022-09-20 14:04:27 source > Table convictions column bac (type DECIMAL[6]) -> false 2022-09-20 14:04:27 source > Table convictions column user_answer (type TINYINT UNSIGNED[3]) -> false 2022-09-20 14:04:27 source > Table convictions column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table convictions column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table convictions column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table convictions column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table licences column id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table licences column order_num (type INT[10]) -> false 2022-09-20 14:04:27 source > Table licences column resume_id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table licences column details (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table licences column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table licences column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table licences column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table licences column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table skills column id (type INT[10]) -> false 2022-09-20 14:04:27 source > Table skills column order_num (type INT[10]) -> false 2022-09-20 14:04:27 source > Table skills column resume_id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table skills column details (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table skills column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table skills column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table skills column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table skills column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table qualifications column id (type INT[10]) -> false 2022-09-20 14:04:27 source > Table qualifications column cid (type BIGINT UNSIGNED[20]) -> false 2022-09-20 14:04:27 source > Table qualifications column international_drivers_license (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table qualifications column international_drivers_license_type (type VARCHAR[32]) -> false 2022-09-20 14:04:27 source > Table qualifications column international_drivers_license_date (type INT[10]) -> false 2022-09-20 14:04:27 source > Table qualifications column first_aid (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table qualifications column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table qualifications column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table qualifications column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table qualifications column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table childcare_experiences column id (type INT[10]) -> false 2022-09-20 14:04:27 source > Table childcare_experiences column cid (type BIGINT UNSIGNED[20]) -> false 2022-09-20 14:04:27 source > Table childcare_experiences column age_infants (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table childcare_experiences column age_1_5 (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table childcare_experiences column age_5_10 (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table childcare_experiences column age_10_over (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table childcare_experiences column ideal_job (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table childcare_experiences column motivation (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table childcare_experiences column childcare_negatives (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table childcare_experiences column childcare_positives (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table childcare_experiences column discipline_with_children (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table childcare_experiences column activities_with_children (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table childcare_experiences column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table childcare_experiences column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table childcare_experiences column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table childcare_experiences column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table certificates column id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table certificates column order_num (type INT[10]) -> false 2022-09-20 14:04:27 source > Table certificates column resume_id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table certificates column details (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table certificates column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table certificates column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table certificates column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table certificates column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table requests column id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table requests column resume_id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table requests column type (type VARCHAR[30]) -> false 2022-09-20 14:04:27 source > Table requests column description (type VARCHAR[1000]) -> false 2022-09-20 14:04:27 source > Table requests column requested_by (type VARCHAR[30]) -> false 2022-09-20 14:04:27 source > Table requests column requested_at (type INT[10]) -> false 2022-09-20 14:04:27 source > Table requests column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table requests column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table requests column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table requests column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table chores column id (type INT[10]) -> false 2022-09-20 14:04:27 source > Table chores column cid (type BIGINT UNSIGNED[20]) -> false 2022-09-20 14:04:27 source > Table chores column child_meals (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table chores column light_housework (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table chores column general_housework (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table chores column housework_unwilling (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table chores column housework_unwilling_details (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table chores column meal_prep (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table chores column accustomed_chores (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table chores column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table chores column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table chores column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table chores column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table language_interests column id (type INT[10]) -> false 2022-09-20 14:04:27 source > Table language_interests column cid (type BIGINT UNSIGNED[20]) -> false 2022-09-20 14:04:27 source > Table language_interests column has_other (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table language_interests column other_interest (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table language_interests column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table language_interests column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table language_interests column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table language_interests column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table activity_log column id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table activity_log column table_name (type CHAR[255]) -> false 2022-09-20 14:04:27 source > Table activity_log column field_name (type CHAR[255]) -> false 2022-09-20 14:04:27 source > Table activity_log column record_id (type BIGINT UNSIGNED[20]) -> false 2022-09-20 14:04:27 source > Table activity_log column value (type TEXT[65535]) -> false 2022-09-20 14:04:27 source > Table activity_log column time (type INT[10]) -> false 2022-09-20 14:04:27 source > Table activity_log column staff_id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table activity_log column action (type TINYINT UNSIGNED[3]) -> false 2022-09-20 14:04:27 source > Table resumes column id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table resumes column status (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table resumes column step_index (type SMALLINT UNSIGNED[5]) -> false 2022-09-20 14:04:27 source > Table resumes column s3_resume_pic (type VARCHAR[512]) -> false 2022-09-20 14:04:27 source > Table resumes column date_created (type VARCHAR[30]) -> false 2022-09-20 14:04:27 source > Table resumes column date_modified (type VARCHAR[30]) -> false 2022-09-20 14:04:27 source > Table resumes column first_name (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table resumes column middle_name (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table resumes column last_name (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table resumes column email (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table resumes column phone_code (type CHAR[16]) -> false 2022-09-20 14:04:27 source > Table resumes column phone (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table resumes column skype (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table resumes column introduction (type VARCHAR[1000]) -> false 2022-09-20 14:04:27 source > Table resumes column objectives (type VARCHAR[1000]) -> false 2022-09-20 14:04:27 source > Table resumes column cid (type BIGINT UNSIGNED[20]) -> false 2022-09-20 14:04:27 source > Table resumes column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table resumes column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table resumes column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table resumes column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table characteristics column id (type INT[10]) -> false 2022-09-20 14:04:27 source > Table characteristics column cid (type BIGINT UNSIGNED[20]) -> false 2022-09-20 14:04:27 source > Table characteristics column description (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table characteristics column interests (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table characteristics column positive_traits (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table characteristics column religion (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table characteristics column smoking_habit (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table characteristics column lived_from_home (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table characteristics column lived_from_home_details (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table characteristics column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table characteristics column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table characteristics column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table characteristics column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table education column id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table education column order_num (type INT[10]) -> false 2022-09-20 14:04:27 source > Table education column resume_id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table education column title (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table education column institution (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table education column date_from (type VARCHAR[30]) -> false 2022-09-20 14:04:27 source > Table education column date_to (type VARCHAR[30]) -> false 2022-09-20 14:04:27 source > Table education column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table education column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table education column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table education column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column cid (type BIGINT UNSIGNED[20]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column position_preferences_family_with_2c_up (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column position_preferences_family_with_single_parent (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column position_preferences_family_with_pets (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column position_preferences_family_with_special_needs (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column position_preferences_family_with_sole_in_charge (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column position_preferences_work_weekends (type VARCHAR[50]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column qualifications_international_drivers_license (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column qualifications_international_drivers_license_type (type VARCHAR[32]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column qualifications_first_aid (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column statuses_aupair_status (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column statuses_aupair_step_index (type SMALLINT UNSIGNED[5]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column dietaries_has_requirements (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column dietaries_requirements (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column language_interests_has_other (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column language_interests_other_interest (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column trip_preferences_departure_earliest (type INT[10]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column trip_preferences_departure_latest (type INT[10]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column trip_preferences_stay_12_months (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column characteristics_description (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column characteristics_interests (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column characteristics_positive_traits (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column characteristics_religion (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column characteristics_smoking_habit (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column characteristics_lived_from_home (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column characteristics_lived_from_home_details (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column chores_child_meals (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column chores_light_housework (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column chores_general_housework (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column chores_housework_unwilling (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column chores_housework_unwilling_details (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column chores_meal_prep (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column chores_accustomed_chores (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column childcare_experiences_age_infants (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column childcare_experiences_age_1_5 (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column childcare_experiences_age_5_10 (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column childcare_experiences_age_10_over (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column childcare_experiences_ideal_job (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column childcare_experiences_motivation (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column childcare_experiences_childcare_negatives (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column childcare_experiences_childcare_positives (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column childcare_experiences_discipline_with_children (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table v_profile_summary column childcare_experiences_activities_with_children (type VARCHAR[500]) -> false 2022-09-20 14:04:27 source > Table trip_preferences column id (type INT[10]) -> false 2022-09-20 14:04:27 source > Table trip_preferences column cid (type BIGINT UNSIGNED[20]) -> false 2022-09-20 14:04:27 source > Table trip_preferences column departure_earliest (type INT[10]) -> false 2022-09-20 14:04:27 source > Table trip_preferences column departure_latest (type INT[10]) -> false 2022-09-20 14:04:27 source > Table trip_preferences column stay_12_months (type BIT[1]) -> false 2022-09-20 14:04:27 source > Table trip_preferences column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table trip_preferences column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table trip_preferences column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table trip_preferences column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table notification_settings column id (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table notification_settings column cid (type BIGINT UNSIGNED[20]) -> false 2022-09-20 14:04:27 source > Table notification_settings column settings (type JSON[1073741824]) -> false 2022-09-20 14:04:27 source > Table notification_settings column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table notification_settings column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table notification_settings column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table notification_settings column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table languages column id (type INT[10]) -> false 2022-09-20 14:04:27 source > Table languages column cid (type BIGINT UNSIGNED[20]) -> false 2022-09-20 14:04:27 source > Table languages column language (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table languages column fluency (type VARCHAR[100]) -> false 2022-09-20 14:04:27 source > Table languages column _ca (type INT[10]) -> false 2022-09-20 14:04:27 source > Table languages column _cb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Table languages column _lma (type INT[10]) -> false 2022-09-20 14:04:27 source > Table languages column _lmb (type INT UNSIGNED[10]) -> false 2022-09-20 14:04:27 source > Target File position : FileName: mysql-bin-changelog.000033, Position : 17513498 2022-09-20 14:04:27 source > Using CDC: true 2022-09-20 14:04:27 source > JsonConverterConfig values: converter.type = key decimal.format = BASE64 schemas.cache.size = 1000 schemas.enable = true 2022-09-20 14:04:27 source > JsonConverterConfig values: converter.type = value decimal.format = BASE64 schemas.cache.size = 1000 schemas.enable = false 2022-09-20 14:04:27 source > EmbeddedConfig values: access.control.allow.methods = access.control.allow.origin = admin.listeners = null bootstrap.servers = [localhost:9092] client.dns.lookup = use_all_dns_ips config.providers = [] connector.client.config.override.policy = All header.converter = class org.apache.kafka.connect.storage.SimpleHeaderConverter key.converter = class org.apache.kafka.connect.json.JsonConverter listeners = [http://:8083] metric.reporters = [] metrics.num.samples = 2 metrics.recording.level = INFO metrics.sample.window.ms = 30000 offset.flush.interval.ms = 1000 offset.flush.timeout.ms = 5000 offset.storage.file.filename = /tmp/cdc-state-offset17898740389553575155/offset.dat offset.storage.partitions = null offset.storage.replication.factor = null offset.storage.topic = plugin.path = null response.http.headers.config = rest.advertised.host.name = null rest.advertised.listener = null rest.advertised.port = null rest.extension.classes = [] ssl.cipher.suites = null ssl.client.auth = none ssl.enabled.protocols = [TLSv1.2, TLSv1.3] ssl.endpoint.identification.algorithm = https ssl.engine.factory.class = null ssl.key.password = null ssl.keymanager.algorithm = SunX509 ssl.keystore.certificate.chain = null ssl.keystore.key = null ssl.keystore.location = null ssl.keystore.password = null ssl.keystore.type = JKS ssl.protocol = TLSv1.3 ssl.provider = null ssl.secure.random.implementation = null ssl.trustmanager.algorithm = PKIX ssl.truststore.certificates = null ssl.truststore.location = null ssl.truststore.password = null ssl.truststore.type = JKS task.shutdown.graceful.timeout.ms = 5000 topic.creation.enable = true topic.tracking.allow.reset = true topic.tracking.enable = true value.converter = class org.apache.kafka.connect.json.JsonConverter 2022-09-20 14:04:27 source > The worker has been configured with one or more internal converter properties ([internal.key.converter, internal.value.converter]). Support for these properties was deprecated in version 2.0 and removed in version 3.0, and specifying them will have no effect. Instead, an instance of the JsonConverter with schemas.enable set to false will be used. For more information, please visit http://kafka.apache.org/documentation/#upgrade and consult the upgrade notesfor the 3.0 release. 2022-09-20 14:04:27 source > Variables cannot be used in the 'plugin.path' property, since the property is used by plugin scanning before the config providers that replace the variables are initialized. The raw value 'null' was used for plugin scanning, as opposed to the transformed value 'null', and this may cause unexpected results. 2022-09-20 14:04:27 source > JsonConverterConfig values: converter.type = key decimal.format = BASE64 schemas.cache.size = 1000 schemas.enable = false 2022-09-20 14:04:27 source > JsonConverterConfig values: converter.type = value decimal.format = BASE64 schemas.cache.size = 1000 schemas.enable = false 2022-09-20 14:04:27 source > Starting FileOffsetBackingStore with file /tmp/cdc-state-offset17898740389553575155/offset.dat 2022-09-20 14:04:27 source > Queueing query for table: v_profile_summary 2022-09-20 14:04:27 source > Starting MySqlConnectorTask with configuration: 2022-09-20 14:04:27 source > connector.class = io.debezium.connector.mysql.MySqlConnector 2022-09-20 14:04:27 source > snapshot.locking.mode = none 2022-09-20 14:04:27 source > max.queue.size = 8192 2022-09-20 14:04:27 source > database.history.consumer.security.protocol = SSL 2022-09-20 14:04:27 source > include.schema.changes = false 2022-09-20 14:04:27 source > database.sslmode = PREFERRED 2022-09-20 14:04:27 source > binary.handling.mode = base64 2022-09-20 14:04:27 source > offset.storage.file.filename = /tmp/cdc-state-offset17898740389553575155/offset.dat 2022-09-20 14:04:27 source > decimal.handling.mode = string 2022-09-20 14:04:27 source > converters = boolean, datetime 2022-09-20 14:04:27 source > datetime.type = io.airbyte.integrations.debezium.internals.MySQLDateTimeConverter 2022-09-20 14:04:27 source > value.converter = org.apache.kafka.connect.json.JsonConverter 2022-09-20 14:04:27 source > key.converter = org.apache.kafka.connect.json.JsonConverter 2022-09-20 14:04:27 source > database.history.file.filename = /tmp/cdc-db-history4336438666608873512/dbhistory.dat 2022-09-20 14:04:27 source > database.user = airbyte 2022-09-20 14:04:27 source > database.dbname = t_profiles 2022-09-20 14:04:27 source > offset.storage = org.apache.kafka.connect.storage.FileOffsetBackingStore 2022-09-20 14:04:27 source > database.history.producer.security.protocol = SSL 2022-09-20 14:04:27 source > boolean.type = io.debezium.connector.mysql.converters.TinyIntOneToBooleanConverter 2022-09-20 14:04:27 source > database.server.name = t_profiles 2022-09-20 14:04:27 source > offset.flush.timeout.ms = 5000 2022-09-20 14:04:27 source > database.port = 3306 2022-09-20 14:04:27 source > offset.flush.interval.ms = 1000 2022-09-20 14:04:27 source > key.converter.schemas.enable = false 2022-09-20 14:04:27 source > internal.key.converter = org.apache.kafka.connect.json.JsonConverter 2022-09-20 14:04:27 source > database.hostname = core-db.gwat.co 2022-09-20 14:04:27 source > database.password = ******** 2022-09-20 14:04:27 source > name = t_profiles 2022-09-20 14:04:27 source > value.converter.schemas.enable = false 2022-09-20 14:04:27 source > internal.value.converter = org.apache.kafka.connect.json.JsonConverter 2022-09-20 14:04:27 source > max.batch.size = 2048 2022-09-20 14:04:27 source > table.include.list = t_profiles.position_preferences,t_profiles.employment_history,t_profiles.employment_duties,t_profiles.dietaries,t_profiles.statuses,t_profiles.healths,t_profiles.convictions,t_profiles.licences,t_profiles.skills,t_profiles.qualifications,t_profiles.childcare_experiences,t_profiles.certificates,t_profiles.requests,t_profiles.chores,t_profiles.language_interests,t_profiles.activity_log,t_profiles.resumes,t_profiles.characteristics,t_profiles.education,t_profiles.trip_preferences,t_profiles.notification_settings,t_profiles.languages 2022-09-20 14:04:27 source > snapshot.mode = when_needed 2022-09-20 14:04:27 source > database.history = io.debezium.relational.history.FileDatabaseHistory 2022-09-20 14:04:27 source > database.include.list = t_profiles 2022-09-20 14:04:27 source > Found previous partition offset MySqlPartition [sourcePartition={server=t_profiles}]: {transaction_id=null, file=mysql-bin-changelog.000033, pos=16765990, row=1, event=4} 2022-09-20 14:04:27 source > Closing connection before starting schema recovery 2022-09-20 14:04:27 source > Connection gracefully closed 2022-09-20 14:04:27 source > Started database history recovery 2022-09-20 14:04:28 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ynu_language_interests}} 2022-09-20 14:04:28 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ynu_language_interests}} 2022-09-20 14:04:28 destination > Creating staging path for stream language_interests (dataset t_profiles): gwat_live/t_profiles_language_interests/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:28 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_language_interests/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:28 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_language_interests/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:28 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_nhk_chores}} 2022-09-20 14:04:29 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_nhk_chores}} 2022-09-20 14:04:29 destination > Creating staging path for stream chores (dataset t_profiles): gwat_live/t_profiles_chores/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:29 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_chores/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:29 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_chores/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:29 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_wfy_activity_log}} 2022-09-20 14:04:29 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_wfy_activity_log}} 2022-09-20 14:04:29 destination > Creating staging path for stream activity_log (dataset t_profiles): gwat_live/t_profiles_activity_log/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:29 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_activity_log/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:30 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_activity_log/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:30 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_onh_qualifications}} 2022-09-20 14:04:30 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_onh_qualifications}} 2022-09-20 14:04:30 destination > Creating staging path for stream qualifications (dataset t_profiles): gwat_live/t_profiles_qualifications/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:30 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_qualifications/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:30 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_qualifications/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:30 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ich_v_profile_summary}} 2022-09-20 14:04:30 source > Finished database history recovery of 890 change(s) in 2964 ms 2022-09-20 14:04:30 source > Reconnecting after finishing schema recovery 2022-09-20 14:04:30 source > Get all known binlogs from MySQL 2022-09-20 14:04:30 source > MySQL has the binlog file 'mysql-bin-changelog.000033' required by the connector 2022-09-20 14:04:30 source > Requested thread factory for connector MySqlConnector, id = t_profiles named = change-event-source-coordinator 2022-09-20 14:04:30 source > Creating thread debezium-mysqlconnector-t_profiles-change-event-source-coordinator 2022-09-20 14:04:30 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ich_v_profile_summary}} 2022-09-20 14:04:30 destination > Creating staging path for stream v_profile_summary (dataset t_profiles): gwat_live/t_profiles_v_profile_summary/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:30 source > Metrics registered 2022-09-20 14:04:30 source > Context created 2022-09-20 14:04:30 source > A previous offset indicating a completed snapshot has been found. Neither schema nor data will be snapshotted. 2022-09-20 14:04:30 source > Snapshot ended with SnapshotResult [status=SKIPPED, offset=MySqlOffsetContext [sourceInfoSchema=Schema{io.debezium.connector.mysql.Source:STRUCT}, sourceInfo=SourceInfo [currentGtid=null, currentBinlogFilename=mysql-bin-changelog.000033, currentBinlogPosition=16765990, currentRowNumber=0, serverId=0, sourceTime=null, threadId=-1, currentQuery=null, tableIds=[], databaseName=null], snapshotCompleted=false, transactionContext=TransactionContext [currentTransactionId=null, perTableEventCount={}, totalEventCount=0], restartGtidSet=null, currentGtidSet=null, restartBinlogFilename=mysql-bin-changelog.000033, restartBinlogPosition=16765990, restartRowsToSkip=1, restartEventsToSkip=4, currentEventLengthInBytes=0, inTransaction=false, transactionId=null, incrementalSnapshotContext =IncrementalSnapshotContext [windowOpened=false, chunkEndPosition=null, dataCollectionsToSnapshot=[], lastEventKeySent=null, maximumKey=null]]] 2022-09-20 14:04:30 source > Requested thread factory for connector MySqlConnector, id = t_profiles named = binlog-client 2022-09-20 14:04:30 source > Starting streaming 2022-09-20 14:04:30 source > GTID set purged on server: 2022-09-20 14:04:30 source > Skip 4 events on streaming start 2022-09-20 14:04:30 source > Skip 1 rows on streaming start 2022-09-20 14:04:30 source > Creating thread debezium-mysqlconnector-t_profiles-binlog-client 2022-09-20 14:04:30 source > Creating thread debezium-mysqlconnector-t_profiles-binlog-client 2022-09-20 14:04:30 source > Sep 20, 2022 2:04:30 PM com.github.shyiko.mysql.binlog.BinaryLogClient connect 2022-09-20 14:04:30 source > INFO: Connected to core-db.gwat.co:3306 at mysql-bin-changelog.000033/16765990 (sid:6139, cid:11648271) 2022-09-20 14:04:30 source > Connected to MySQL binlog at core-db.gwat.co:3306, starting at MySqlOffsetContext [sourceInfoSchema=Schema{io.debezium.connector.mysql.Source:STRUCT}, sourceInfo=SourceInfo [currentGtid=null, currentBinlogFilename=mysql-bin-changelog.000033, currentBinlogPosition=16765990, currentRowNumber=0, serverId=0, sourceTime=null, threadId=-1, currentQuery=null, tableIds=[], databaseName=null], snapshotCompleted=false, transactionContext=TransactionContext [currentTransactionId=null, perTableEventCount={}, totalEventCount=0], restartGtidSet=null, currentGtidSet=null, restartBinlogFilename=mysql-bin-changelog.000033, restartBinlogPosition=16765990, restartRowsToSkip=1, restartEventsToSkip=4, currentEventLengthInBytes=0, inTransaction=false, transactionId=null, incrementalSnapshotContext =IncrementalSnapshotContext [windowOpened=false, chunkEndPosition=null, dataCollectionsToSnapshot=[], lastEventKeySent=null, maximumKey=null]] 2022-09-20 14:04:30 source > Waiting for keepalive thread to start 2022-09-20 14:04:31 source > Creating thread debezium-mysqlconnector-t_profiles-binlog-client 2022-09-20 14:04:31 source > Keepalive thread is running 2022-09-20 14:04:31 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_v_profile_summary/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:31 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_v_profile_summary/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:31 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_qdw_employment_history}} 2022-09-20 14:04:31 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_qdw_employment_history}} 2022-09-20 14:04:31 destination > Creating staging path for stream employment_history (dataset t_profiles): gwat_live/t_profiles_employment_history/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:31 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_employment_history/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:31 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_employment_history/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:31 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_kzy_languages}} 2022-09-20 14:04:32 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_kzy_languages}} 2022-09-20 14:04:32 destination > Creating staging path for stream languages (dataset t_profiles): gwat_live/t_profiles_languages/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:32 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_languages/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:32 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_languages/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:32 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_rck_healths}} 2022-09-20 14:04:32 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_rck_healths}} 2022-09-20 14:04:32 destination > Creating staging path for stream healths (dataset t_profiles): gwat_live/t_profiles_healths/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:32 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_healths/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:32 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_healths/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:32 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_pur_convictions}} 2022-09-20 14:04:33 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_pur_convictions}} 2022-09-20 14:04:33 destination > Creating staging path for stream convictions (dataset t_profiles): gwat_live/t_profiles_convictions/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:33 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_convictions/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:33 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_convictions/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:33 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_mrg_characteristics}} 2022-09-20 14:04:33 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_mrg_characteristics}} 2022-09-20 14:04:33 destination > Creating staging path for stream characteristics (dataset t_profiles): gwat_live/t_profiles_characteristics/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:33 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_characteristics/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:34 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_characteristics/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:34 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_pmv_position_preferences}} 2022-09-20 14:04:34 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_pmv_position_preferences}} 2022-09-20 14:04:34 destination > Creating staging path for stream position_preferences (dataset t_profiles): gwat_live/t_profiles_position_preferences/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:34 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_position_preferences/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:34 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_position_preferences/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:34 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_vqo_childcare_experiences}} 2022-09-20 14:04:34 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_vqo_childcare_experiences}} 2022-09-20 14:04:34 destination > Creating staging path for stream childcare_experiences (dataset t_profiles): gwat_live/t_profiles_childcare_experiences/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:35 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_childcare_experiences/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:35 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_childcare_experiences/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:35 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_kxp_skills}} 2022-09-20 14:04:35 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_kxp_skills}} 2022-09-20 14:04:35 destination > Creating staging path for stream skills (dataset t_profiles): gwat_live/t_profiles_skills/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:35 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_skills/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:35 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_skills/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:35 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_xvp_requests}} 2022-09-20 14:04:36 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_xvp_requests}} 2022-09-20 14:04:36 destination > Creating staging path for stream requests (dataset t_profiles): gwat_live/t_profiles_requests/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:36 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_requests/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:36 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_requests/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:36 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_css_notification_settings}} 2022-09-20 14:04:36 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_css_notification_settings}} 2022-09-20 14:04:36 destination > Creating staging path for stream notification_settings (dataset t_profiles): gwat_live/t_profiles_notification_settings/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:36 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_notification_settings/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:36 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_notification_settings/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:36 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dmv_resumes}} 2022-09-20 14:04:37 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dmv_resumes}} 2022-09-20 14:04:37 destination > Creating staging path for stream resumes (dataset t_profiles): gwat_live/t_profiles_resumes/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:37 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_resumes/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:37 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_resumes/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:37 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_tgn_trip_preferences}} 2022-09-20 14:04:37 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_tgn_trip_preferences}} 2022-09-20 14:04:37 destination > Creating staging path for stream trip_preferences (dataset t_profiles): gwat_live/t_profiles_trip_preferences/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:37 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_trip_preferences/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:38 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_trip_preferences/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:38 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dly_employment_duties}} 2022-09-20 14:04:38 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dly_employment_duties}} 2022-09-20 14:04:38 destination > Creating staging path for stream employment_duties (dataset t_profiles): gwat_live/t_profiles_employment_duties/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:38 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_employment_duties/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:38 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_employment_duties/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:38 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_hpg_dietaries}} 2022-09-20 14:04:38 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_hpg_dietaries}} 2022-09-20 14:04:38 destination > Creating staging path for stream dietaries (dataset t_profiles): gwat_live/t_profiles_dietaries/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:39 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_dietaries/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:39 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_dietaries/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:39 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ujr_statuses}} 2022-09-20 14:04:39 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ujr_statuses}} 2022-09-20 14:04:39 destination > Creating staging path for stream statuses (dataset t_profiles): gwat_live/t_profiles_statuses/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:39 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_statuses/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:39 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_statuses/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:39 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dyh_licences}} 2022-09-20 14:04:40 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dyh_licences}} 2022-09-20 14:04:40 destination > Creating staging path for stream licences (dataset t_profiles): gwat_live/t_profiles_licences/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:40 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_licences/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:40 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_licences/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:40 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ame_certificates}} 2022-09-20 14:04:40 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ame_certificates}} 2022-09-20 14:04:40 destination > Creating staging path for stream certificates (dataset t_profiles): gwat_live/t_profiles_certificates/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:40 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_certificates/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:40 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_certificates/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:40 destination > Creating tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_tpv_education}} 2022-09-20 14:04:41 destination > Partitioned table created successfully: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_tpv_education}} 2022-09-20 14:04:41 destination > Creating staging path for stream education (dataset t_profiles): gwat_live/t_profiles_education/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:04:41 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_education/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ does not exist in bucket; creating... 2022-09-20 14:04:41 destination > Storage Object airbyte-bigquery-staging-1/gwat_live/t_profiles_education/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ has been created in bucket. 2022-09-20 14:04:41 destination > Preparing tmp tables in destination completed. 2022-09-20 14:05:31 source > Closing cause next is returned as null 2022-09-20 14:05:31 source > Stopping the embedded engine 2022-09-20 14:05:31 source > Waiting for PT5M for connector to stop 2022-09-20 14:05:31 source > Stopping the task and engine 2022-09-20 14:05:31 source > Stopping down connector 2022-09-20 14:05:31 source > Finished streaming 2022-09-20 14:05:31 source > Stopped reading binlog after 0 events, last recorded offset: {transaction_id=null, ts_sec=1663682030, file=mysql-bin-changelog.000033, pos=17518226, server_id=239712215, event=1} 2022-09-20 14:05:31 source > Connection gracefully closed 2022-09-20 14:05:31 source > Stopped FileOffsetBackingStore 2022-09-20 14:05:31 source > Debezium engine shutdown. 2022-09-20 14:05:31 source > no record found. polling again. 2022-09-20 14:05:31 source > debezium state: {"mysql_db_history":"{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955574,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"\",\"ddl\":\"SET character_set_server=utf8mb4, collation_server=utf8mb4_0900_ai_ci\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`activity_log`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`certificates`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`characteristics`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`childcare_experiences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`chores`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`convictions`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`dietaries`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`education`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`employment_duties`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`employment_history`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`healths`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`language_interests`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`languages`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`licences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`notification_settings`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`position_preferences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`qualifications`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`requests`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`resumes`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`skills`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`statuses`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`trip_preferences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP DATABASE IF EXISTS `t_profiles`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DATABASE `t_profiles` CHARSET latin1 COLLATE latin1_swedish_ci\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"USE `t_profiles`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `activity_log` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `table_name` char(255) DEFAULT NULL,\\n `field_name` char(255) DEFAULT NULL,\\n `record_id` bigint unsigned DEFAULT NULL,\\n `value` text,\\n `time` int DEFAULT NULL,\\n `staff_id` int unsigned DEFAULT NULL,\\n `action` tinyint unsigned NOT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_activity_log_staff_id` (`staff_id`),\\n CONSTRAINT `fk_t_profiles_activity_log_staff_id` FOREIGN KEY (`staff_id`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=1006104 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"activity_log\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"table_name\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":255,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"field_name\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":255,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"record_id\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"value\",\"jdbcType\":12,\"typeName\":\"TEXT\",\"typeExpression\":\"TEXT\",\"charsetName\":\"latin1\",\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"time\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"staff_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"action\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `certificates` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_certificates_cb` (`_cb`),\\n KEY `fk_t_profiles_certificates_lmb` (`_lmb`),\\n KEY `fk_certificates_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_certificates_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_certificates_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_certificates_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=58532 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"certificates\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `characteristics` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `description` varchar(500) DEFAULT NULL,\\n `interests` varchar(500) DEFAULT NULL,\\n `positive_traits` varchar(500) DEFAULT NULL,\\n `religion` varchar(100) DEFAULT NULL,\\n `smoking_habit` varchar(100) DEFAULT NULL,\\n `lived_from_home` tinyint(1) DEFAULT NULL,\\n `lived_from_home_details` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_character_travellers` (`cid`),\\n KEY `fk_t_profiles_characteristics_cb` (`_cb`),\\n KEY `fk_t_profiles_characteristics_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_character_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_characteristics_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_characteristics_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2811 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"characteristics\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"interests\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"positive_traits\",\"jdbcType\":12,\"typeName\":\"V… 2022-09-20 14:05:31 destination > Starting a new buffer for stream certificates (current state: 0 bytes in 0 buffers) 2022-09-20 14:05:31 destination > Default schema. 2022-09-20 14:05:31 destination > Starting a new buffer for stream activity_log (current state: 0 bytes in 1 buffers) 2022-09-20 14:05:31 destination > Default schema. 2022-09-20 14:05:31 destination > Starting a new buffer for stream skills (current state: 0 bytes in 2 buffers) 2022-09-20 14:05:31 destination > Default schema. 2022-09-20 14:05:31 destination > Starting a new buffer for stream resumes (current state: 0 bytes in 3 buffers) 2022-09-20 14:05:31 destination > Default schema. 2022-09-20 14:05:31 source > Set initial fetch size: 10 rows 2022-09-20 14:05:33 source > Max memory limit: 24847056896, JDBC buffer size: 1073741824 2022-09-20 14:05:33 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 1000 (35 KB) 2022-09-20 14:05:33 destination > Starting a new buffer for stream v_profile_summary (current state: 0 bytes in 4 buffers) 2022-09-20 14:05:33 destination > Default schema. 2022-09-20 14:05:33 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 2000 (70 KB) 2022-09-20 14:05:33 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 3000 (103 KB) 2022-09-20 14:05:33 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 4000 (141 KB) 2022-09-20 14:05:33 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 5000 (197 KB) 2022-09-20 14:05:33 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 6000 (277 KB) 2022-09-20 14:05:33 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 7000 (504 KB) 2022-09-20 14:05:34 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 8000 (704 KB) 2022-09-20 14:05:34 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 9000 (907 KB) 2022-09-20 14:05:34 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 10000 (1 MB) 2022-09-20 14:05:34 source > Reading stream v_profile_summary. Records read: 10000 2022-09-20 14:05:34 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 11000 (1 MB) 2022-09-20 14:05:34 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 12000 (1 MB) 2022-09-20 14:05:34 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 13000 (1 MB) 2022-09-20 14:05:34 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 14000 (1 MB) 2022-09-20 14:05:34 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 15000 (2 MB) 2022-09-20 14:05:34 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 16000 (2 MB) 2022-09-20 14:05:34 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 17000 (2 MB) 2022-09-20 14:05:34 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 18000 (2 MB) 2022-09-20 14:05:34 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 19000 (2 MB) 2022-09-20 14:05:34 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 20000 (2 MB) 2022-09-20 14:05:34 source > Reading stream v_profile_summary. Records read: 20000 2022-09-20 14:05:34 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 21000 (2 MB) 2022-09-20 14:05:34 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 22000 (3 MB) 2022-09-20 14:05:34 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 23000 (3 MB) 2022-09-20 14:05:34 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 24000 (3 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 25000 (3 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 26000 (3 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 27000 (3 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 28000 (3 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 29000 (4 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 30000 (4 MB) 2022-09-20 14:05:35 source > Reading stream v_profile_summary. Records read: 30000 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 31000 (4 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 32000 (4 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 33000 (4 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 34000 (4 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 35000 (4 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 36000 (5 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 37000 (5 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 38000 (5 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 39000 (5 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 40000 (5 MB) 2022-09-20 14:05:35 source > Reading stream v_profile_summary. Records read: 40000 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 41000 (5 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 42000 (5 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 43000 (5 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 44000 (5 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 45000 (5 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 46000 (6 MB) 2022-09-20 14:05:35 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 47000 (6 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 48000 (6 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 49000 (6 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 50000 (6 MB) 2022-09-20 14:05:36 source > Reading stream v_profile_summary. Records read: 50000 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 51000 (6 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 52000 (6 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 53000 (7 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 54000 (7 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 55000 (7 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 56000 (7 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 57000 (7 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 58000 (7 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 59000 (7 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 60000 (7 MB) 2022-09-20 14:05:36 source > Reading stream v_profile_summary. Records read: 60000 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 61000 (7 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 62000 (7 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 63000 (8 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 64000 (8 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 65000 (8 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 66000 (8 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 67000 (8 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 68000 (8 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 69000 (8 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 70000 (8 MB) 2022-09-20 14:05:36 source > Reading stream v_profile_summary. Records read: 70000 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 71000 (8 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 72000 (8 MB) 2022-09-20 14:05:36 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 73000 (8 MB) 2022-09-20 14:05:37 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 74000 (8 MB) 2022-09-20 14:05:37 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 75000 (9 MB) 2022-09-20 14:05:37 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 76000 (9 MB) 2022-09-20 14:05:37 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 77000 (9 MB) 2022-09-20 14:05:37 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 78000 (9 MB) 2022-09-20 14:05:37 source > Closing database connection pool. 2022-09-20 14:05:37 source > HikariPool-1 - Shutdown initiated... 2022-09-20 14:05:37 source > HikariPool-1 - Shutdown completed. 2022-09-20 14:05:37 source > Closed database connection pool. 2022-09-20 14:05:37 source > Completed integration: io.airbyte.integrations.base.ssh.SshWrappedSource 2022-09-20 14:05:37 source > completed source: class io.airbyte.integrations.source.mysql.MySqlSource 2022-09-20 14:05:37 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):363 - Total records read: 78086 (9 MB) 2022-09-20 14:05:37 WARN i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$5):366 - Schema validation errors found for stream t_profilescertificates. Error messages: [$._lmb is of an incorrect type. Expected it to be number, $._cb is of an incorrect type. Expected it to be number, $._lma is of an incorrect type. Expected it to be number, $._ab_cdc_deleted_at is of an incorrect type. Expected it to be string] 2022-09-20 14:05:37 WARN i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$5):366 - Schema validation errors found for stream t_profilesskills. Error messages: [$._lmb is of an incorrect type. Expected it to be number, $._cb is of an incorrect type. Expected it to be number, $._lma is of an incorrect type. Expected it to be number, $._ab_cdc_deleted_at is of an incorrect type. Expected it to be string] 2022-09-20 14:05:37 WARN i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$5):366 - Schema validation errors found for stream t_profilesactivity_log. Error messages: [$.staff_id is of an incorrect type. Expected it to be number, $.value is of an incorrect type. Expected it to be string, $._ab_cdc_deleted_at is of an incorrect type. Expected it to be string] 2022-09-20 14:05:37 WARN i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$5):366 - Schema validation errors found for stream t_profilesresumes. Error messages: [$.middle_name is of an incorrect type. Expected it to be string, $.objectives is of an incorrect type. Expected it to be string, $._lmb is of an incorrect type. Expected it to be number, $.phone_code is of an incorrect type. Expected it to be string, $._cb is of an incorrect type. Expected it to be number, $.status is of an incorrect type. Expected it to be string, $.first_name is of an incorrect type. Expected it to be string, $.phone is of an incorrect type. Expected it to be string, $.email is of an incorrect type. Expected it to be string, $.introduction is of an incorrect type. Expected it to be string, $.skype is of an incorrect type. Expected it to be string, $.s3_resume_pic is of an incorrect type. Expected it to be string, $._lma is of an incorrect type. Expected it to be number, $.last_name is of an incorrect type. Expected it to be string, $._ab_cdc_deleted_at is of an incorrect type. Expected it to be string] 2022-09-20 14:05:37 INFO i.a.w.g.DefaultReplicationWorker(run):182 - One of source or destination thread complete. Waiting on the other. 2022-09-20 14:05:37 destination > Airbyte message consumer: succeeded. 2022-09-20 14:05:37 destination > executing on success close procedure. 2022-09-20 14:05:37 destination > Flushing all 5 current buffers (12 MB in total) 2022-09-20 14:05:37 destination > Flushing buffer of stream skills (321 bytes) 2022-09-20 14:05:37 destination > Flushing buffer for stream skills (321 bytes) to staging 2022-09-20 14:05:37 destination > Finished writing data to 1502a90b-d6f0-4d24-9f21-fc509dc0cfe217651070323171653871.avro (1 KB) 2022-09-20 14:05:37 destination > Uploading records to staging for stream skills (dataset t_profiles): gwat_live/t_profiles_skills/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:05:37 destination > Initiated multipart upload to airbyte-bigquery-staging-1/gwat_live/t_profiles_skills/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro with full ID ABPnzm6AukJGwl-GxurptdFon2ErqZQ_hKS_yuyib-il6T2QOrR9LAg0sgD1jZaYPZ0zumE 2022-09-20 14:05:37 destination > Called close() on [MultipartOutputStream for parts 1 - 10000] 2022-09-20 14:05:37 destination > [Manager uploading to airbyte-bigquery-staging-1/gwat_live/t_profiles_skills/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro with id ABPnzm6Au...aYPZ0zumE]: Uploading leftover stream [Part number 1 containing 0.00 MB] 2022-09-20 14:05:37 destination > [Manager uploading to airbyte-bigquery-staging-1/gwat_live/t_profiles_skills/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro with id ABPnzm6Au...aYPZ0zumE]: Finished uploading [Part number 1 containing 0.00 MB] 2022-09-20 14:05:38 destination > [Manager uploading to airbyte-bigquery-staging-1/gwat_live/t_profiles_skills/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro with id ABPnzm6Au...aYPZ0zumE]: Completed 2022-09-20 14:05:38 destination > Uploaded buffer file to storage: 1502a90b-d6f0-4d24-9f21-fc509dc0cfe217651070323171653871.avro -> gwat_live/t_profiles_skills/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro (filename: 1.avro) 2022-09-20 14:05:38 destination > Added staged file: 1.avro 2022-09-20 14:05:38 destination > Deleting tempFile data 1502a90b-d6f0-4d24-9f21-fc509dc0cfe217651070323171653871.avro 2022-09-20 14:05:38 destination > Flushing buffer of stream resumes (322 bytes) 2022-09-20 14:05:38 destination > Flushing buffer for stream resumes (322 bytes) to staging 2022-09-20 14:05:38 destination > Finished writing data to b3879f97-3c82-4a1d-aca7-af866372b085416099703773426735.avro (2 KB) 2022-09-20 14:05:38 destination > Uploading records to staging for stream resumes (dataset t_profiles): gwat_live/t_profiles_resumes/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:05:38 destination > Initiated multipart upload to airbyte-bigquery-staging-1/gwat_live/t_profiles_resumes/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro with full ID ABPnzm4A7UIuRQ0JuiIdZrRaqqQQ-t9xa1yGlkMWm6_YJ1X76Ivd0DiE_XNCOHIkj_no8O4 2022-09-20 14:05:38 destination > Called close() on [MultipartOutputStream for parts 1 - 10000] 2022-09-20 14:05:38 destination > [Manager uploading to airbyte-bigquery-staging-1/gwat_live/t_profiles_resumes/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro with id ABPnzm4A7...Ikj_no8O4]: Uploading leftover stream [Part number 1 containing 0.00 MB] 2022-09-20 14:05:38 destination > [Manager uploading to airbyte-bigquery-staging-1/gwat_live/t_profiles_resumes/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro with id ABPnzm4A7...Ikj_no8O4]: Finished uploading [Part number 1 containing 0.00 MB] 2022-09-20 14:05:38 destination > [Manager uploading to airbyte-bigquery-staging-1/gwat_live/t_profiles_resumes/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro with id ABPnzm4A7...Ikj_no8O4]: Completed 2022-09-20 14:05:38 destination > Uploaded buffer file to storage: b3879f97-3c82-4a1d-aca7-af866372b085416099703773426735.avro -> gwat_live/t_profiles_resumes/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro (filename: 1.avro) 2022-09-20 14:05:38 destination > Added staged file: 1.avro 2022-09-20 14:05:38 destination > Deleting tempFile data b3879f97-3c82-4a1d-aca7-af866372b085416099703773426735.avro 2022-09-20 14:05:38 destination > Flushing buffer of stream activity_log (327 bytes) 2022-09-20 14:05:38 destination > Flushing buffer for stream activity_log (327 bytes) to staging 2022-09-20 14:05:38 destination > Finished writing data to 2de440ee-3eba-4a18-8dc5-b9f486e7c28d2002029850579786477.avro (5 KB) 2022-09-20 14:05:38 destination > Uploading records to staging for stream activity_log (dataset t_profiles): gwat_live/t_profiles_activity_log/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:05:39 destination > Initiated multipart upload to airbyte-bigquery-staging-1/gwat_live/t_profiles_activity_log/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro with full ID ABPnzm60IP3OHeMmDoCfi-M3T0AZJn8S2Ssjh1dQTo-t8M_aCLyED5yZ6oMO_J_opZ4-mjc 2022-09-20 14:05:39 destination > Called close() on [MultipartOutputStream for parts 1 - 10000] 2022-09-20 14:05:39 destination > [Manager uploading to airbyte-bigquery-staging-1/gwat_live/t_profiles_activity_log/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro with id ABPnzm60I..._opZ4-mjc]: Uploading leftover stream [Part number 1 containing 0.01 MB] 2022-09-20 14:05:39 destination > [Manager uploading to airbyte-bigquery-staging-1/gwat_live/t_profiles_activity_log/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro with id ABPnzm60I..._opZ4-mjc]: Finished uploading [Part number 1 containing 0.01 MB] 2022-09-20 14:05:39 destination > [Manager uploading to airbyte-bigquery-staging-1/gwat_live/t_profiles_activity_log/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro with id ABPnzm60I..._opZ4-mjc]: Completed 2022-09-20 14:05:39 destination > Uploaded buffer file to storage: 2de440ee-3eba-4a18-8dc5-b9f486e7c28d2002029850579786477.avro -> gwat_live/t_profiles_activity_log/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro (filename: 1.avro) 2022-09-20 14:05:39 destination > Added staged file: 1.avro 2022-09-20 14:05:39 destination > Deleting tempFile data 2de440ee-3eba-4a18-8dc5-b9f486e7c28d2002029850579786477.avro 2022-09-20 14:05:39 destination > Flushing buffer of stream v_profile_summary (12 MB) 2022-09-20 14:05:39 destination > Flushing buffer for stream v_profile_summary (12 MB) to staging 2022-09-20 14:05:39 destination > Finished writing data to b55a01ea-c5a3-4022-9c95-8d418f20e8152984907669281740089.avro (12 MB) 2022-09-20 14:05:39 destination > Uploading records to staging for stream v_profile_summary (dataset t_profiles): gwat_live/t_profiles_v_profile_summary/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:05:40 destination > Initiated multipart upload to airbyte-bigquery-staging-1/gwat_live/t_profiles_v_profile_summary/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro with full ID ABPnzm4ESxboE8U5Br8PWkbfW3GK0cWMTBZKNKkdjs3T1trHFCF7hH1naPNRgUbkNUxxpdk 2022-09-20 14:05:40 destination > Called close() on [MultipartOutputStream for parts 1 - 10000] 2022-09-20 14:05:40 destination > [Manager uploading to airbyte-bigquery-staging-1/gwat_live/t_profiles_v_profile_summary/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro with id ABPnzm4ES...bkNUxxpdk]: Finished uploading [Part number 1 containing 12.54 MB] 2022-09-20 14:05:41 destination > [Manager uploading to airbyte-bigquery-staging-1/gwat_live/t_profiles_v_profile_summary/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro with id ABPnzm4ES...bkNUxxpdk]: Completed 2022-09-20 14:05:41 destination > Uploaded buffer file to storage: b55a01ea-c5a3-4022-9c95-8d418f20e8152984907669281740089.avro -> gwat_live/t_profiles_v_profile_summary/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro (filename: 1.avro) 2022-09-20 14:05:41 destination > Added staged file: 1.avro 2022-09-20 14:05:41 destination > Deleting tempFile data b55a01ea-c5a3-4022-9c95-8d418f20e8152984907669281740089.avro 2022-09-20 14:05:41 destination > Flushing buffer of stream certificates (327 bytes) 2022-09-20 14:05:41 destination > Flushing buffer for stream certificates (327 bytes) to staging 2022-09-20 14:05:41 destination > Finished writing data to 369e49c1-493b-4f64-a6af-c0776dc3937114382763293584464811.avro (977 bytes) 2022-09-20 14:05:41 destination > Uploading records to staging for stream certificates (dataset t_profiles): gwat_live/t_profiles_certificates/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:05:41 destination > Initiated multipart upload to airbyte-bigquery-staging-1/gwat_live/t_profiles_certificates/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro with full ID ABPnzm5dUEwUgGkr6iyBMeqEzLgpv5OcfO55m1WTX3sBi5DkYcIL0yhLtmOktPniLHqjgjY 2022-09-20 14:05:41 destination > Called close() on [MultipartOutputStream for parts 1 - 10000] 2022-09-20 14:05:41 destination > [Manager uploading to airbyte-bigquery-staging-1/gwat_live/t_profiles_certificates/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro with id ABPnzm5dU...niLHqjgjY]: Uploading leftover stream [Part number 1 containing 0.00 MB] 2022-09-20 14:05:41 destination > [Manager uploading to airbyte-bigquery-staging-1/gwat_live/t_profiles_certificates/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro with id ABPnzm5dU...niLHqjgjY]: Finished uploading [Part number 1 containing 0.00 MB] 2022-09-20 14:05:42 destination > [Manager uploading to airbyte-bigquery-staging-1/gwat_live/t_profiles_certificates/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro with id ABPnzm5dU...niLHqjgjY]: Completed 2022-09-20 14:05:42 destination > Uploaded buffer file to storage: 369e49c1-493b-4f64-a6af-c0776dc3937114382763293584464811.avro -> gwat_live/t_profiles_certificates/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro (filename: 1.avro) 2022-09-20 14:05:42 destination > Added staged file: 1.avro 2022-09-20 14:05:42 destination > Deleting tempFile data 369e49c1-493b-4f64-a6af-c0776dc3937114382763293584464811.avro 2022-09-20 14:05:42 destination > Closing buffer for stream skills 2022-09-20 14:05:42 destination > Closing buffer for stream resumes 2022-09-20 14:05:42 destination > Closing buffer for stream activity_log 2022-09-20 14:05:42 destination > Closing buffer for stream v_profile_summary 2022-09-20 14:05:42 destination > Closing buffer for stream certificates 2022-09-20 14:05:42 destination > Copying into tables in destination started for 23 streams 2022-09-20 14:05:42 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ynu_language_interests}} (dataset t_profiles): [] 2022-09-20 14:05:42 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ynu_language_interests}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_language_interests}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:05:47 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ynu_language_interests}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_language_interests}} 2022-09-20 14:05:47 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_nhk_chores}} (dataset t_profiles): [] 2022-09-20 14:05:47 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_nhk_chores}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_chores}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:05:49 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_nhk_chores}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_chores}} 2022-09-20 14:05:49 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_wfy_activity_log}} (dataset t_profiles): [1.avro] 2022-09-20 14:05:49 destination > Uploading staged file: gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_activity_log/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro 2022-09-20 14:05:49 destination > [JobId{project=data-warehouse-356806, job=396df69f-8c90-4128-bce2-7b6984932295, location=US}] Created a new job to upload records to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_wfy_activity_log}} (dataset t_profiles): Job{job=JobId{project=data-warehouse-356806, job=396df69f-8c90-4128-bce2-7b6984932295, location=US}, status=JobStatus{state=RUNNING, error=null, executionErrors=null}, statistics=LoadStatistics{creationTime=1663682749522, endTime=null, startTime=1663682749657, numChildJobs=null, parentJobId=null, scriptStatistics=null, reservationUsage=null, inputBytes=null, inputFiles=null, outputBytes=null, outputRows=null, badRecords=null}, userEmail=airbye-bigquery-staging@data-warehouse-356806.iam.gserviceaccount.com, etag=0LtbAGgOghwZbNSaXRIxGg==, generatedId=data-warehouse-356806:US.396df69f-8c90-4128-bce2-7b6984932295, selfLink=https://www.googleapis.com/bigquery/v2/projects/data-warehouse-356806/jobs/396df69f-8c90-4128-bce2-7b6984932295?location=US, configuration=LoadJobConfiguration{type=LOAD, destinationTable=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, projectId=data-warehouse-356806, tableId=_airbyte_tmp_wfy_activity_log}}, decimalTargetTypes=null, destinationEncryptionConfiguration=null, createDisposition=null, writeDisposition=WRITE_APPEND, formatOptions=FormatOptions{format=AVRO}, nullMarker=null, maxBadRecords=null, schema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, ignoreUnknownValue=null, sourceUris=[gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_activity_log/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro], schemaUpdateOptions=null, autodetect=null, timePartitioning=null, clustering=null, useAvroLogicalTypes=true, labels=null, jobTimeoutMs=null, rangePartitioning=null, hivePartitioningOptions=null}} 2022-09-20 14:05:49 destination > Waiting for job finish Job{job=JobId{project=data-warehouse-356806, job=396df69f-8c90-4128-bce2-7b6984932295, location=US}, status=JobStatus{state=RUNNING, error=null, executionErrors=null}, statistics=LoadStatistics{creationTime=1663682749522, endTime=null, startTime=1663682749657, numChildJobs=null, parentJobId=null, scriptStatistics=null, reservationUsage=null, inputBytes=null, inputFiles=null, outputBytes=null, outputRows=null, badRecords=null}, userEmail=airbye-bigquery-staging@data-warehouse-356806.iam.gserviceaccount.com, etag=0LtbAGgOghwZbNSaXRIxGg==, generatedId=data-warehouse-356806:US.396df69f-8c90-4128-bce2-7b6984932295, selfLink=https://www.googleapis.com/bigquery/v2/projects/data-warehouse-356806/jobs/396df69f-8c90-4128-bce2-7b6984932295?location=US, configuration=LoadJobConfiguration{type=LOAD, destinationTable=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, projectId=data-warehouse-356806, tableId=_airbyte_tmp_wfy_activity_log}}, decimalTargetTypes=null, destinationEncryptionConfiguration=null, createDisposition=null, writeDisposition=WRITE_APPEND, formatOptions=FormatOptions{format=AVRO}, nullMarker=null, maxBadRecords=null, schema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, ignoreUnknownValue=null, sourceUris=[gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_activity_log/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro], schemaUpdateOptions=null, autodetect=null, timePartitioning=null, clustering=null, useAvroLogicalTypes=true, labels=null, jobTimeoutMs=null, rangePartitioning=null, hivePartitioningOptions=null}}. Status: JobStatus{state=RUNNING, error=null, executionErrors=null} 2022-09-20 14:05:54 destination > Job finish Job{job=JobId{project=data-warehouse-356806, job=396df69f-8c90-4128-bce2-7b6984932295, location=US}, status=JobStatus{state=RUNNING, error=null, executionErrors=null}, statistics=LoadStatistics{creationTime=1663682749522, endTime=null, startTime=1663682749657, numChildJobs=null, parentJobId=null, scriptStatistics=null, reservationUsage=null, inputBytes=null, inputFiles=null, outputBytes=null, outputRows=null, badRecords=null}, userEmail=airbye-bigquery-staging@data-warehouse-356806.iam.gserviceaccount.com, etag=0LtbAGgOghwZbNSaXRIxGg==, generatedId=data-warehouse-356806:US.396df69f-8c90-4128-bce2-7b6984932295, selfLink=https://www.googleapis.com/bigquery/v2/projects/data-warehouse-356806/jobs/396df69f-8c90-4128-bce2-7b6984932295?location=US, configuration=LoadJobConfiguration{type=LOAD, destinationTable=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, projectId=data-warehouse-356806, tableId=_airbyte_tmp_wfy_activity_log}}, decimalTargetTypes=null, destinationEncryptionConfiguration=null, createDisposition=null, writeDisposition=WRITE_APPEND, formatOptions=FormatOptions{format=AVRO}, nullMarker=null, maxBadRecords=null, schema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, ignoreUnknownValue=null, sourceUris=[gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_activity_log/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro], schemaUpdateOptions=null, autodetect=null, timePartitioning=null, clustering=null, useAvroLogicalTypes=true, labels=null, jobTimeoutMs=null, rangePartitioning=null, hivePartitioningOptions=null}} with status JobStatus{state=RUNNING, error=null, executionErrors=null} 2022-09-20 14:05:54 destination > [JobId{project=data-warehouse-356806, job=396df69f-8c90-4128-bce2-7b6984932295, location=US}] Tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_wfy_activity_log}} (dataset t_profiles) is successfully appended with staging files 2022-09-20 14:05:54 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_wfy_activity_log}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_activity_log}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:05:58 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_wfy_activity_log}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_activity_log}} 2022-09-20 14:05:58 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_onh_qualifications}} (dataset t_profiles): [] 2022-09-20 14:05:58 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_onh_qualifications}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_qualifications}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:06:03 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_onh_qualifications}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_qualifications}} 2022-09-20 14:06:03 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ich_v_profile_summary}} (dataset t_profiles): [1.avro] 2022-09-20 14:06:03 destination > Uploading staged file: gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_v_profile_summary/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro 2022-09-20 14:06:03 destination > [JobId{project=data-warehouse-356806, job=bc2524db-928d-4b20-bc80-93c40569154e, location=US}] Created a new job to upload records to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ich_v_profile_summary}} (dataset t_profiles): Job{job=JobId{project=data-warehouse-356806, job=bc2524db-928d-4b20-bc80-93c40569154e, location=US}, status=JobStatus{state=RUNNING, error=null, executionErrors=null}, statistics=LoadStatistics{creationTime=1663682763487, endTime=null, startTime=1663682763594, numChildJobs=null, parentJobId=null, scriptStatistics=null, reservationUsage=null, inputBytes=null, inputFiles=null, outputBytes=null, outputRows=null, badRecords=null}, userEmail=airbye-bigquery-staging@data-warehouse-356806.iam.gserviceaccount.com, etag=0GLb4B+W1RlLUJRkSasfUw==, generatedId=data-warehouse-356806:US.bc2524db-928d-4b20-bc80-93c40569154e, selfLink=https://www.googleapis.com/bigquery/v2/projects/data-warehouse-356806/jobs/bc2524db-928d-4b20-bc80-93c40569154e?location=US, configuration=LoadJobConfiguration{type=LOAD, destinationTable=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, projectId=data-warehouse-356806, tableId=_airbyte_tmp_ich_v_profile_summary}}, decimalTargetTypes=null, destinationEncryptionConfiguration=null, createDisposition=null, writeDisposition=WRITE_APPEND, formatOptions=FormatOptions{format=AVRO}, nullMarker=null, maxBadRecords=null, schema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, ignoreUnknownValue=null, sourceUris=[gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_v_profile_summary/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro], schemaUpdateOptions=null, autodetect=null, timePartitioning=null, clustering=null, useAvroLogicalTypes=true, labels=null, jobTimeoutMs=null, rangePartitioning=null, hivePartitioningOptions=null}} 2022-09-20 14:06:03 destination > Waiting for job finish Job{job=JobId{project=data-warehouse-356806, job=bc2524db-928d-4b20-bc80-93c40569154e, location=US}, status=JobStatus{state=RUNNING, error=null, executionErrors=null}, statistics=LoadStatistics{creationTime=1663682763487, endTime=null, startTime=1663682763594, numChildJobs=null, parentJobId=null, scriptStatistics=null, reservationUsage=null, inputBytes=null, inputFiles=null, outputBytes=null, outputRows=null, badRecords=null}, userEmail=airbye-bigquery-staging@data-warehouse-356806.iam.gserviceaccount.com, etag=0GLb4B+W1RlLUJRkSasfUw==, generatedId=data-warehouse-356806:US.bc2524db-928d-4b20-bc80-93c40569154e, selfLink=https://www.googleapis.com/bigquery/v2/projects/data-warehouse-356806/jobs/bc2524db-928d-4b20-bc80-93c40569154e?location=US, configuration=LoadJobConfiguration{type=LOAD, destinationTable=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, projectId=data-warehouse-356806, tableId=_airbyte_tmp_ich_v_profile_summary}}, decimalTargetTypes=null, destinationEncryptionConfiguration=null, createDisposition=null, writeDisposition=WRITE_APPEND, formatOptions=FormatOptions{format=AVRO}, nullMarker=null, maxBadRecords=null, schema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, ignoreUnknownValue=null, sourceUris=[gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_v_profile_summary/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro], schemaUpdateOptions=null, autodetect=null, timePartitioning=null, clustering=null, useAvroLogicalTypes=true, labels=null, jobTimeoutMs=null, rangePartitioning=null, hivePartitioningOptions=null}}. Status: JobStatus{state=RUNNING, error=null, executionErrors=null} 2022-09-20 14:06:09 destination > Job finish Job{job=JobId{project=data-warehouse-356806, job=bc2524db-928d-4b20-bc80-93c40569154e, location=US}, status=JobStatus{state=RUNNING, error=null, executionErrors=null}, statistics=LoadStatistics{creationTime=1663682763487, endTime=null, startTime=1663682763594, numChildJobs=null, parentJobId=null, scriptStatistics=null, reservationUsage=null, inputBytes=null, inputFiles=null, outputBytes=null, outputRows=null, badRecords=null}, userEmail=airbye-bigquery-staging@data-warehouse-356806.iam.gserviceaccount.com, etag=0GLb4B+W1RlLUJRkSasfUw==, generatedId=data-warehouse-356806:US.bc2524db-928d-4b20-bc80-93c40569154e, selfLink=https://www.googleapis.com/bigquery/v2/projects/data-warehouse-356806/jobs/bc2524db-928d-4b20-bc80-93c40569154e?location=US, configuration=LoadJobConfiguration{type=LOAD, destinationTable=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, projectId=data-warehouse-356806, tableId=_airbyte_tmp_ich_v_profile_summary}}, decimalTargetTypes=null, destinationEncryptionConfiguration=null, createDisposition=null, writeDisposition=WRITE_APPEND, formatOptions=FormatOptions{format=AVRO}, nullMarker=null, maxBadRecords=null, schema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, ignoreUnknownValue=null, sourceUris=[gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_v_profile_summary/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro], schemaUpdateOptions=null, autodetect=null, timePartitioning=null, clustering=null, useAvroLogicalTypes=true, labels=null, jobTimeoutMs=null, rangePartitioning=null, hivePartitioningOptions=null}} with status JobStatus{state=RUNNING, error=null, executionErrors=null} 2022-09-20 14:06:09 destination > [JobId{project=data-warehouse-356806, job=bc2524db-928d-4b20-bc80-93c40569154e, location=US}] Tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ich_v_profile_summary}} (dataset t_profiles) is successfully appended with staging files 2022-09-20 14:06:09 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ich_v_profile_summary}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_v_profile_summary}} (dataset t_profiles, sync mode overwrite) 2022-09-20 14:06:11 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ich_v_profile_summary}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_v_profile_summary}} 2022-09-20 14:06:11 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_qdw_employment_history}} (dataset t_profiles): [] 2022-09-20 14:06:11 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_qdw_employment_history}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_employment_history}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:06:16 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_qdw_employment_history}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_employment_history}} 2022-09-20 14:06:16 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_kzy_languages}} (dataset t_profiles): [] 2022-09-20 14:06:16 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_kzy_languages}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_languages}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:06:20 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_kzy_languages}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_languages}} 2022-09-20 14:06:20 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_rck_healths}} (dataset t_profiles): [] 2022-09-20 14:06:20 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_rck_healths}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_healths}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:06:23 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_rck_healths}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_healths}} 2022-09-20 14:06:23 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_pur_convictions}} (dataset t_profiles): [] 2022-09-20 14:06:23 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_pur_convictions}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_convictions}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:06:27 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_pur_convictions}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_convictions}} 2022-09-20 14:06:27 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_mrg_characteristics}} (dataset t_profiles): [] 2022-09-20 14:06:27 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_mrg_characteristics}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_characteristics}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:06:33 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_mrg_characteristics}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_characteristics}} 2022-09-20 14:06:33 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_pmv_position_preferences}} (dataset t_profiles): [] 2022-09-20 14:06:33 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_pmv_position_preferences}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_position_preferences}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:06:37 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_pmv_position_preferences}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_position_preferences}} 2022-09-20 14:06:37 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_vqo_childcare_experiences}} (dataset t_profiles): [] 2022-09-20 14:06:37 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_vqo_childcare_experiences}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_childcare_experiences}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:06:39 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_vqo_childcare_experiences}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_childcare_experiences}} 2022-09-20 14:06:39 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_kxp_skills}} (dataset t_profiles): [1.avro] 2022-09-20 14:06:39 destination > Uploading staged file: gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_skills/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro 2022-09-20 14:06:39 destination > [JobId{project=data-warehouse-356806, job=8d317029-8476-42fe-9bed-812eac81c6e1, location=US}] Created a new job to upload records to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_kxp_skills}} (dataset t_profiles): Job{job=JobId{project=data-warehouse-356806, job=8d317029-8476-42fe-9bed-812eac81c6e1, location=US}, status=JobStatus{state=RUNNING, error=null, executionErrors=null}, statistics=LoadStatistics{creationTime=1663682799630, endTime=null, startTime=1663682799718, numChildJobs=null, parentJobId=null, scriptStatistics=null, reservationUsage=null, inputBytes=null, inputFiles=null, outputBytes=null, outputRows=null, badRecords=null}, userEmail=airbye-bigquery-staging@data-warehouse-356806.iam.gserviceaccount.com, etag=DqaqXPI062zJ8zCl4w5JBw==, generatedId=data-warehouse-356806:US.8d317029-8476-42fe-9bed-812eac81c6e1, selfLink=https://www.googleapis.com/bigquery/v2/projects/data-warehouse-356806/jobs/8d317029-8476-42fe-9bed-812eac81c6e1?location=US, configuration=LoadJobConfiguration{type=LOAD, destinationTable=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, projectId=data-warehouse-356806, tableId=_airbyte_tmp_kxp_skills}}, decimalTargetTypes=null, destinationEncryptionConfiguration=null, createDisposition=null, writeDisposition=WRITE_APPEND, formatOptions=FormatOptions{format=AVRO}, nullMarker=null, maxBadRecords=null, schema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, ignoreUnknownValue=null, sourceUris=[gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_skills/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro], schemaUpdateOptions=null, autodetect=null, timePartitioning=null, clustering=null, useAvroLogicalTypes=true, labels=null, jobTimeoutMs=null, rangePartitioning=null, hivePartitioningOptions=null}} 2022-09-20 14:06:39 destination > Waiting for job finish Job{job=JobId{project=data-warehouse-356806, job=8d317029-8476-42fe-9bed-812eac81c6e1, location=US}, status=JobStatus{state=RUNNING, error=null, executionErrors=null}, statistics=LoadStatistics{creationTime=1663682799630, endTime=null, startTime=1663682799718, numChildJobs=null, parentJobId=null, scriptStatistics=null, reservationUsage=null, inputBytes=null, inputFiles=null, outputBytes=null, outputRows=null, badRecords=null}, userEmail=airbye-bigquery-staging@data-warehouse-356806.iam.gserviceaccount.com, etag=DqaqXPI062zJ8zCl4w5JBw==, generatedId=data-warehouse-356806:US.8d317029-8476-42fe-9bed-812eac81c6e1, selfLink=https://www.googleapis.com/bigquery/v2/projects/data-warehouse-356806/jobs/8d317029-8476-42fe-9bed-812eac81c6e1?location=US, configuration=LoadJobConfiguration{type=LOAD, destinationTable=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, projectId=data-warehouse-356806, tableId=_airbyte_tmp_kxp_skills}}, decimalTargetTypes=null, destinationEncryptionConfiguration=null, createDisposition=null, writeDisposition=WRITE_APPEND, formatOptions=FormatOptions{format=AVRO}, nullMarker=null, maxBadRecords=null, schema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, ignoreUnknownValue=null, sourceUris=[gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_skills/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro], schemaUpdateOptions=null, autodetect=null, timePartitioning=null, clustering=null, useAvroLogicalTypes=true, labels=null, jobTimeoutMs=null, rangePartitioning=null, hivePartitioningOptions=null}}. Status: JobStatus{state=RUNNING, error=null, executionErrors=null} 2022-09-20 14:06:45 destination > Job finish Job{job=JobId{project=data-warehouse-356806, job=8d317029-8476-42fe-9bed-812eac81c6e1, location=US}, status=JobStatus{state=RUNNING, error=null, executionErrors=null}, statistics=LoadStatistics{creationTime=1663682799630, endTime=null, startTime=1663682799718, numChildJobs=null, parentJobId=null, scriptStatistics=null, reservationUsage=null, inputBytes=null, inputFiles=null, outputBytes=null, outputRows=null, badRecords=null}, userEmail=airbye-bigquery-staging@data-warehouse-356806.iam.gserviceaccount.com, etag=DqaqXPI062zJ8zCl4w5JBw==, generatedId=data-warehouse-356806:US.8d317029-8476-42fe-9bed-812eac81c6e1, selfLink=https://www.googleapis.com/bigquery/v2/projects/data-warehouse-356806/jobs/8d317029-8476-42fe-9bed-812eac81c6e1?location=US, configuration=LoadJobConfiguration{type=LOAD, destinationTable=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, projectId=data-warehouse-356806, tableId=_airbyte_tmp_kxp_skills}}, decimalTargetTypes=null, destinationEncryptionConfiguration=null, createDisposition=null, writeDisposition=WRITE_APPEND, formatOptions=FormatOptions{format=AVRO}, nullMarker=null, maxBadRecords=null, schema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, ignoreUnknownValue=null, sourceUris=[gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_skills/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro], schemaUpdateOptions=null, autodetect=null, timePartitioning=null, clustering=null, useAvroLogicalTypes=true, labels=null, jobTimeoutMs=null, rangePartitioning=null, hivePartitioningOptions=null}} with status JobStatus{state=RUNNING, error=null, executionErrors=null} 2022-09-20 14:06:45 destination > [JobId{project=data-warehouse-356806, job=8d317029-8476-42fe-9bed-812eac81c6e1, location=US}] Tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_kxp_skills}} (dataset t_profiles) is successfully appended with staging files 2022-09-20 14:06:45 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_kxp_skills}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_skills}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:06:49 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_kxp_skills}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_skills}} 2022-09-20 14:06:49 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_xvp_requests}} (dataset t_profiles): [] 2022-09-20 14:06:49 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_xvp_requests}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_requests}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:06:53 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_xvp_requests}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_requests}} 2022-09-20 14:06:53 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_css_notification_settings}} (dataset t_profiles): [] 2022-09-20 14:06:53 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_css_notification_settings}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_notification_settings}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:06:55 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_css_notification_settings}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_notification_settings}} 2022-09-20 14:06:55 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dmv_resumes}} (dataset t_profiles): [1.avro] 2022-09-20 14:06:55 destination > Uploading staged file: gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_resumes/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro 2022-09-20 14:06:55 destination > [JobId{project=data-warehouse-356806, job=7a09f14a-5660-48b5-b2e0-9163b323f386, location=US}] Created a new job to upload records to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dmv_resumes}} (dataset t_profiles): Job{job=JobId{project=data-warehouse-356806, job=7a09f14a-5660-48b5-b2e0-9163b323f386, location=US}, status=JobStatus{state=RUNNING, error=null, executionErrors=null}, statistics=LoadStatistics{creationTime=1663682815243, endTime=null, startTime=1663682815389, numChildJobs=null, parentJobId=null, scriptStatistics=null, reservationUsage=null, inputBytes=null, inputFiles=null, outputBytes=null, outputRows=null, badRecords=null}, userEmail=airbye-bigquery-staging@data-warehouse-356806.iam.gserviceaccount.com, etag=ktqI7JWUHb2dnrU8FpKBZQ==, generatedId=data-warehouse-356806:US.7a09f14a-5660-48b5-b2e0-9163b323f386, selfLink=https://www.googleapis.com/bigquery/v2/projects/data-warehouse-356806/jobs/7a09f14a-5660-48b5-b2e0-9163b323f386?location=US, configuration=LoadJobConfiguration{type=LOAD, destinationTable=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, projectId=data-warehouse-356806, tableId=_airbyte_tmp_dmv_resumes}}, decimalTargetTypes=null, destinationEncryptionConfiguration=null, createDisposition=null, writeDisposition=WRITE_APPEND, formatOptions=FormatOptions{format=AVRO}, nullMarker=null, maxBadRecords=null, schema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, ignoreUnknownValue=null, sourceUris=[gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_resumes/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro], schemaUpdateOptions=null, autodetect=null, timePartitioning=null, clustering=null, useAvroLogicalTypes=true, labels=null, jobTimeoutMs=null, rangePartitioning=null, hivePartitioningOptions=null}} 2022-09-20 14:06:55 destination > Waiting for job finish Job{job=JobId{project=data-warehouse-356806, job=7a09f14a-5660-48b5-b2e0-9163b323f386, location=US}, status=JobStatus{state=RUNNING, error=null, executionErrors=null}, statistics=LoadStatistics{creationTime=1663682815243, endTime=null, startTime=1663682815389, numChildJobs=null, parentJobId=null, scriptStatistics=null, reservationUsage=null, inputBytes=null, inputFiles=null, outputBytes=null, outputRows=null, badRecords=null}, userEmail=airbye-bigquery-staging@data-warehouse-356806.iam.gserviceaccount.com, etag=ktqI7JWUHb2dnrU8FpKBZQ==, generatedId=data-warehouse-356806:US.7a09f14a-5660-48b5-b2e0-9163b323f386, selfLink=https://www.googleapis.com/bigquery/v2/projects/data-warehouse-356806/jobs/7a09f14a-5660-48b5-b2e0-9163b323f386?location=US, configuration=LoadJobConfiguration{type=LOAD, destinationTable=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, projectId=data-warehouse-356806, tableId=_airbyte_tmp_dmv_resumes}}, decimalTargetTypes=null, destinationEncryptionConfiguration=null, createDisposition=null, writeDisposition=WRITE_APPEND, formatOptions=FormatOptions{format=AVRO}, nullMarker=null, maxBadRecords=null, schema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, ignoreUnknownValue=null, sourceUris=[gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_resumes/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro], schemaUpdateOptions=null, autodetect=null, timePartitioning=null, clustering=null, useAvroLogicalTypes=true, labels=null, jobTimeoutMs=null, rangePartitioning=null, hivePartitioningOptions=null}}. Status: JobStatus{state=RUNNING, error=null, executionErrors=null} 2022-09-20 14:07:01 destination > Job finish Job{job=JobId{project=data-warehouse-356806, job=7a09f14a-5660-48b5-b2e0-9163b323f386, location=US}, status=JobStatus{state=RUNNING, error=null, executionErrors=null}, statistics=LoadStatistics{creationTime=1663682815243, endTime=null, startTime=1663682815389, numChildJobs=null, parentJobId=null, scriptStatistics=null, reservationUsage=null, inputBytes=null, inputFiles=null, outputBytes=null, outputRows=null, badRecords=null}, userEmail=airbye-bigquery-staging@data-warehouse-356806.iam.gserviceaccount.com, etag=ktqI7JWUHb2dnrU8FpKBZQ==, generatedId=data-warehouse-356806:US.7a09f14a-5660-48b5-b2e0-9163b323f386, selfLink=https://www.googleapis.com/bigquery/v2/projects/data-warehouse-356806/jobs/7a09f14a-5660-48b5-b2e0-9163b323f386?location=US, configuration=LoadJobConfiguration{type=LOAD, destinationTable=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, projectId=data-warehouse-356806, tableId=_airbyte_tmp_dmv_resumes}}, decimalTargetTypes=null, destinationEncryptionConfiguration=null, createDisposition=null, writeDisposition=WRITE_APPEND, formatOptions=FormatOptions{format=AVRO}, nullMarker=null, maxBadRecords=null, schema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, ignoreUnknownValue=null, sourceUris=[gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_resumes/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro], schemaUpdateOptions=null, autodetect=null, timePartitioning=null, clustering=null, useAvroLogicalTypes=true, labels=null, jobTimeoutMs=null, rangePartitioning=null, hivePartitioningOptions=null}} with status JobStatus{state=RUNNING, error=null, executionErrors=null} 2022-09-20 14:07:01 destination > [JobId{project=data-warehouse-356806, job=7a09f14a-5660-48b5-b2e0-9163b323f386, location=US}] Tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dmv_resumes}} (dataset t_profiles) is successfully appended with staging files 2022-09-20 14:07:01 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dmv_resumes}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_resumes}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:07:05 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dmv_resumes}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_resumes}} 2022-09-20 14:07:05 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_tgn_trip_preferences}} (dataset t_profiles): [] 2022-09-20 14:07:05 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_tgn_trip_preferences}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_trip_preferences}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:07:07 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_tgn_trip_preferences}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_trip_preferences}} 2022-09-20 14:07:07 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dly_employment_duties}} (dataset t_profiles): [] 2022-09-20 14:07:07 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dly_employment_duties}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_employment_duties}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:07:12 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dly_employment_duties}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_employment_duties}} 2022-09-20 14:07:12 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_hpg_dietaries}} (dataset t_profiles): [] 2022-09-20 14:07:12 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_hpg_dietaries}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_dietaries}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:07:17 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_hpg_dietaries}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_dietaries}} 2022-09-20 14:07:17 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ujr_statuses}} (dataset t_profiles): [] 2022-09-20 14:07:17 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ujr_statuses}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_statuses}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:07:20 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ujr_statuses}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_statuses}} 2022-09-20 14:07:20 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dyh_licences}} (dataset t_profiles): [] 2022-09-20 14:07:20 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dyh_licences}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_licences}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:07:23 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dyh_licences}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_licences}} 2022-09-20 14:07:23 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ame_certificates}} (dataset t_profiles): [1.avro] 2022-09-20 14:07:23 destination > Uploading staged file: gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_certificates/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro 2022-09-20 14:07:23 destination > [JobId{project=data-warehouse-356806, job=c069adab-5f21-4be1-bfee-da1ce2a62e0d, location=US}] Created a new job to upload records to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ame_certificates}} (dataset t_profiles): Job{job=JobId{project=data-warehouse-356806, job=c069adab-5f21-4be1-bfee-da1ce2a62e0d, location=US}, status=JobStatus{state=RUNNING, error=null, executionErrors=null}, statistics=LoadStatistics{creationTime=1663682843665, endTime=null, startTime=1663682843751, numChildJobs=null, parentJobId=null, scriptStatistics=null, reservationUsage=null, inputBytes=null, inputFiles=null, outputBytes=null, outputRows=null, badRecords=null}, userEmail=airbye-bigquery-staging@data-warehouse-356806.iam.gserviceaccount.com, etag=T6H7by+MNxc/aYW+c+YS/Q==, generatedId=data-warehouse-356806:US.c069adab-5f21-4be1-bfee-da1ce2a62e0d, selfLink=https://www.googleapis.com/bigquery/v2/projects/data-warehouse-356806/jobs/c069adab-5f21-4be1-bfee-da1ce2a62e0d?location=US, configuration=LoadJobConfiguration{type=LOAD, destinationTable=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, projectId=data-warehouse-356806, tableId=_airbyte_tmp_ame_certificates}}, decimalTargetTypes=null, destinationEncryptionConfiguration=null, createDisposition=null, writeDisposition=WRITE_APPEND, formatOptions=FormatOptions{format=AVRO}, nullMarker=null, maxBadRecords=null, schema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, ignoreUnknownValue=null, sourceUris=[gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_certificates/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro], schemaUpdateOptions=null, autodetect=null, timePartitioning=null, clustering=null, useAvroLogicalTypes=true, labels=null, jobTimeoutMs=null, rangePartitioning=null, hivePartitioningOptions=null}} 2022-09-20 14:07:23 destination > Waiting for job finish Job{job=JobId{project=data-warehouse-356806, job=c069adab-5f21-4be1-bfee-da1ce2a62e0d, location=US}, status=JobStatus{state=RUNNING, error=null, executionErrors=null}, statistics=LoadStatistics{creationTime=1663682843665, endTime=null, startTime=1663682843751, numChildJobs=null, parentJobId=null, scriptStatistics=null, reservationUsage=null, inputBytes=null, inputFiles=null, outputBytes=null, outputRows=null, badRecords=null}, userEmail=airbye-bigquery-staging@data-warehouse-356806.iam.gserviceaccount.com, etag=T6H7by+MNxc/aYW+c+YS/Q==, generatedId=data-warehouse-356806:US.c069adab-5f21-4be1-bfee-da1ce2a62e0d, selfLink=https://www.googleapis.com/bigquery/v2/projects/data-warehouse-356806/jobs/c069adab-5f21-4be1-bfee-da1ce2a62e0d?location=US, configuration=LoadJobConfiguration{type=LOAD, destinationTable=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, projectId=data-warehouse-356806, tableId=_airbyte_tmp_ame_certificates}}, decimalTargetTypes=null, destinationEncryptionConfiguration=null, createDisposition=null, writeDisposition=WRITE_APPEND, formatOptions=FormatOptions{format=AVRO}, nullMarker=null, maxBadRecords=null, schema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, ignoreUnknownValue=null, sourceUris=[gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_certificates/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro], schemaUpdateOptions=null, autodetect=null, timePartitioning=null, clustering=null, useAvroLogicalTypes=true, labels=null, jobTimeoutMs=null, rangePartitioning=null, hivePartitioningOptions=null}}. Status: JobStatus{state=RUNNING, error=null, executionErrors=null} 2022-09-20 14:07:29 destination > Job finish Job{job=JobId{project=data-warehouse-356806, job=c069adab-5f21-4be1-bfee-da1ce2a62e0d, location=US}, status=JobStatus{state=RUNNING, error=null, executionErrors=null}, statistics=LoadStatistics{creationTime=1663682843665, endTime=null, startTime=1663682843751, numChildJobs=null, parentJobId=null, scriptStatistics=null, reservationUsage=null, inputBytes=null, inputFiles=null, outputBytes=null, outputRows=null, badRecords=null}, userEmail=airbye-bigquery-staging@data-warehouse-356806.iam.gserviceaccount.com, etag=T6H7by+MNxc/aYW+c+YS/Q==, generatedId=data-warehouse-356806:US.c069adab-5f21-4be1-bfee-da1ce2a62e0d, selfLink=https://www.googleapis.com/bigquery/v2/projects/data-warehouse-356806/jobs/c069adab-5f21-4be1-bfee-da1ce2a62e0d?location=US, configuration=LoadJobConfiguration{type=LOAD, destinationTable=GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, projectId=data-warehouse-356806, tableId=_airbyte_tmp_ame_certificates}}, decimalTargetTypes=null, destinationEncryptionConfiguration=null, createDisposition=null, writeDisposition=WRITE_APPEND, formatOptions=FormatOptions{format=AVRO}, nullMarker=null, maxBadRecords=null, schema=Schema{fields=[Field{name=_airbyte_ab_id, type=STRING, mode=null, description=null, policyTags=null}, Field{name=_airbyte_emitted_at, type=TIMESTAMP, mode=null, description=null, policyTags=null}, Field{name=_airbyte_data, type=STRING, mode=null, description=null, policyTags=null}]}, ignoreUnknownValue=null, sourceUris=[gs://airbyte-bigquery-staging-1/gwat_live/t_profiles_certificates/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro], schemaUpdateOptions=null, autodetect=null, timePartitioning=null, clustering=null, useAvroLogicalTypes=true, labels=null, jobTimeoutMs=null, rangePartitioning=null, hivePartitioningOptions=null}} with status JobStatus{state=RUNNING, error=null, executionErrors=null} 2022-09-20 14:07:29 destination > [JobId{project=data-warehouse-356806, job=c069adab-5f21-4be1-bfee-da1ce2a62e0d, location=US}] Tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ame_certificates}} (dataset t_profiles) is successfully appended with staging files 2022-09-20 14:07:29 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ame_certificates}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_certificates}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:07:33 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ame_certificates}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_certificates}} 2022-09-20 14:07:33 destination > Uploading records from staging files to tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_tpv_education}} (dataset t_profiles): [] 2022-09-20 14:07:33 destination > Copying data from tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_tpv_education}} to target table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_education}} (dataset t_profiles, sync mode append_dedup) 2022-09-20 14:07:37 destination > successfully copied table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_tpv_education}} to table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_raw_education}} 2022-09-20 14:07:37 destination > Finalizing tables in destination completed 2022-09-20 14:07:37 destination > Cleaning up destination started for 23 streams 2022-09-20 14:07:37 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ynu_language_interests}} (dataset t_profiles) 2022-09-20 14:07:37 destination > Cleaning up staging path for stream language_interests (dataset t_profiles): gwat_live/t_profiles_language_interests 2022-09-20 14:07:37 destination > Deleting object gwat_live/t_profiles_language_interests/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:37 destination > Storage bucket gwat_live/t_profiles_language_interests has been cleaned-up (1 objects were deleted)... 2022-09-20 14:07:37 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_nhk_chores}} (dataset t_profiles) 2022-09-20 14:07:38 destination > Cleaning up staging path for stream chores (dataset t_profiles): gwat_live/t_profiles_chores 2022-09-20 14:07:38 destination > Deleting object gwat_live/t_profiles_chores/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:38 destination > Storage bucket gwat_live/t_profiles_chores has been cleaned-up (1 objects were deleted)... 2022-09-20 14:07:38 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_wfy_activity_log}} (dataset t_profiles) 2022-09-20 14:07:38 destination > Cleaning up staging path for stream activity_log (dataset t_profiles): gwat_live/t_profiles_activity_log 2022-09-20 14:07:38 destination > Deleting object gwat_live/t_profiles_activity_log/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:38 destination > Deleting object gwat_live/t_profiles_activity_log/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro 2022-09-20 14:07:39 destination > Storage bucket gwat_live/t_profiles_activity_log has been cleaned-up (2 objects were deleted)... 2022-09-20 14:07:39 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_onh_qualifications}} (dataset t_profiles) 2022-09-20 14:07:39 destination > Cleaning up staging path for stream qualifications (dataset t_profiles): gwat_live/t_profiles_qualifications 2022-09-20 14:07:39 destination > Deleting object gwat_live/t_profiles_qualifications/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:39 destination > Storage bucket gwat_live/t_profiles_qualifications has been cleaned-up (1 objects were deleted)... 2022-09-20 14:07:39 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ich_v_profile_summary}} (dataset t_profiles) 2022-09-20 14:07:39 destination > Cleaning up staging path for stream v_profile_summary (dataset t_profiles): gwat_live/t_profiles_v_profile_summary 2022-09-20 14:07:39 destination > Deleting object gwat_live/t_profiles_v_profile_summary/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:39 destination > Deleting object gwat_live/t_profiles_v_profile_summary/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro 2022-09-20 14:07:40 destination > Storage bucket gwat_live/t_profiles_v_profile_summary has been cleaned-up (2 objects were deleted)... 2022-09-20 14:07:40 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_qdw_employment_history}} (dataset t_profiles) 2022-09-20 14:07:40 destination > Cleaning up staging path for stream employment_history (dataset t_profiles): gwat_live/t_profiles_employment_history 2022-09-20 14:07:40 destination > Deleting object gwat_live/t_profiles_employment_history/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:40 destination > Storage bucket gwat_live/t_profiles_employment_history has been cleaned-up (1 objects were deleted)... 2022-09-20 14:07:40 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_kzy_languages}} (dataset t_profiles) 2022-09-20 14:07:40 destination > Cleaning up staging path for stream languages (dataset t_profiles): gwat_live/t_profiles_languages 2022-09-20 14:07:40 destination > Deleting object gwat_live/t_profiles_languages/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:41 destination > Storage bucket gwat_live/t_profiles_languages has been cleaned-up (1 objects were deleted)... 2022-09-20 14:07:41 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_rck_healths}} (dataset t_profiles) 2022-09-20 14:07:41 destination > Cleaning up staging path for stream healths (dataset t_profiles): gwat_live/t_profiles_healths 2022-09-20 14:07:41 destination > Deleting object gwat_live/t_profiles_healths/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:41 destination > Storage bucket gwat_live/t_profiles_healths has been cleaned-up (1 objects were deleted)... 2022-09-20 14:07:41 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_pur_convictions}} (dataset t_profiles) 2022-09-20 14:07:41 destination > Cleaning up staging path for stream convictions (dataset t_profiles): gwat_live/t_profiles_convictions 2022-09-20 14:07:41 destination > Deleting object gwat_live/t_profiles_convictions/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:41 destination > Storage bucket gwat_live/t_profiles_convictions has been cleaned-up (1 objects were deleted)... 2022-09-20 14:07:41 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_mrg_characteristics}} (dataset t_profiles) 2022-09-20 14:07:42 destination > Cleaning up staging path for stream characteristics (dataset t_profiles): gwat_live/t_profiles_characteristics 2022-09-20 14:07:42 destination > Deleting object gwat_live/t_profiles_characteristics/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:42 destination > Storage bucket gwat_live/t_profiles_characteristics has been cleaned-up (1 objects were deleted)... 2022-09-20 14:07:42 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_pmv_position_preferences}} (dataset t_profiles) 2022-09-20 14:07:42 destination > Cleaning up staging path for stream position_preferences (dataset t_profiles): gwat_live/t_profiles_position_preferences 2022-09-20 14:07:42 destination > Deleting object gwat_live/t_profiles_position_preferences/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:42 destination > Storage bucket gwat_live/t_profiles_position_preferences has been cleaned-up (1 objects were deleted)... 2022-09-20 14:07:42 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_vqo_childcare_experiences}} (dataset t_profiles) 2022-09-20 14:07:43 destination > Cleaning up staging path for stream childcare_experiences (dataset t_profiles): gwat_live/t_profiles_childcare_experiences 2022-09-20 14:07:43 destination > Deleting object gwat_live/t_profiles_childcare_experiences/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:43 destination > Storage bucket gwat_live/t_profiles_childcare_experiences has been cleaned-up (1 objects were deleted)... 2022-09-20 14:07:43 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_kxp_skills}} (dataset t_profiles) 2022-09-20 14:07:43 destination > Cleaning up staging path for stream skills (dataset t_profiles): gwat_live/t_profiles_skills 2022-09-20 14:07:43 destination > Deleting object gwat_live/t_profiles_skills/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:43 destination > Deleting object gwat_live/t_profiles_skills/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro 2022-09-20 14:07:44 destination > Storage bucket gwat_live/t_profiles_skills has been cleaned-up (2 objects were deleted)... 2022-09-20 14:07:44 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_xvp_requests}} (dataset t_profiles) 2022-09-20 14:07:44 destination > Cleaning up staging path for stream requests (dataset t_profiles): gwat_live/t_profiles_requests 2022-09-20 14:07:44 destination > Deleting object gwat_live/t_profiles_requests/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:44 destination > Storage bucket gwat_live/t_profiles_requests has been cleaned-up (1 objects were deleted)... 2022-09-20 14:07:44 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_css_notification_settings}} (dataset t_profiles) 2022-09-20 14:07:44 destination > Cleaning up staging path for stream notification_settings (dataset t_profiles): gwat_live/t_profiles_notification_settings 2022-09-20 14:07:44 destination > Deleting object gwat_live/t_profiles_notification_settings/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:44 destination > Storage bucket gwat_live/t_profiles_notification_settings has been cleaned-up (1 objects were deleted)... 2022-09-20 14:07:44 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dmv_resumes}} (dataset t_profiles) 2022-09-20 14:07:45 destination > Cleaning up staging path for stream resumes (dataset t_profiles): gwat_live/t_profiles_resumes 2022-09-20 14:07:45 destination > Deleting object gwat_live/t_profiles_resumes/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:45 destination > Deleting object gwat_live/t_profiles_resumes/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro 2022-09-20 14:07:45 destination > Storage bucket gwat_live/t_profiles_resumes has been cleaned-up (2 objects were deleted)... 2022-09-20 14:07:45 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_tgn_trip_preferences}} (dataset t_profiles) 2022-09-20 14:07:45 destination > Cleaning up staging path for stream trip_preferences (dataset t_profiles): gwat_live/t_profiles_trip_preferences 2022-09-20 14:07:45 destination > Deleting object gwat_live/t_profiles_trip_preferences/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:46 destination > Storage bucket gwat_live/t_profiles_trip_preferences has been cleaned-up (1 objects were deleted)... 2022-09-20 14:07:46 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dly_employment_duties}} (dataset t_profiles) 2022-09-20 14:07:46 destination > Cleaning up staging path for stream employment_duties (dataset t_profiles): gwat_live/t_profiles_employment_duties 2022-09-20 14:07:46 destination > Deleting object gwat_live/t_profiles_employment_duties/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:46 destination > Storage bucket gwat_live/t_profiles_employment_duties has been cleaned-up (1 objects were deleted)... 2022-09-20 14:07:46 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_hpg_dietaries}} (dataset t_profiles) 2022-09-20 14:07:46 destination > Cleaning up staging path for stream dietaries (dataset t_profiles): gwat_live/t_profiles_dietaries 2022-09-20 14:07:46 destination > Deleting object gwat_live/t_profiles_dietaries/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:46 destination > Storage bucket gwat_live/t_profiles_dietaries has been cleaned-up (1 objects were deleted)... 2022-09-20 14:07:46 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ujr_statuses}} (dataset t_profiles) 2022-09-20 14:07:47 destination > Cleaning up staging path for stream statuses (dataset t_profiles): gwat_live/t_profiles_statuses 2022-09-20 14:07:47 destination > Deleting object gwat_live/t_profiles_statuses/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:47 destination > Storage bucket gwat_live/t_profiles_statuses has been cleaned-up (1 objects were deleted)... 2022-09-20 14:07:47 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_dyh_licences}} (dataset t_profiles) 2022-09-20 14:07:47 destination > Cleaning up staging path for stream licences (dataset t_profiles): gwat_live/t_profiles_licences 2022-09-20 14:07:47 destination > Deleting object gwat_live/t_profiles_licences/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:47 destination > Storage bucket gwat_live/t_profiles_licences has been cleaned-up (1 objects were deleted)... 2022-09-20 14:07:47 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_ame_certificates}} (dataset t_profiles) 2022-09-20 14:07:47 destination > Cleaning up staging path for stream certificates (dataset t_profiles): gwat_live/t_profiles_certificates 2022-09-20 14:07:48 destination > Deleting object gwat_live/t_profiles_certificates/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:48 destination > Deleting object gwat_live/t_profiles_certificates/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/1.avro 2022-09-20 14:07:48 destination > Storage bucket gwat_live/t_profiles_certificates has been cleaned-up (2 objects were deleted)... 2022-09-20 14:07:48 destination > Deleting tmp table GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=t_profiles, tableId=_airbyte_tmp_tpv_education}} (dataset t_profiles) 2022-09-20 14:07:48 destination > Cleaning up staging path for stream education (dataset t_profiles): gwat_live/t_profiles_education 2022-09-20 14:07:48 destination > Deleting object gwat_live/t_profiles_education/2022/09/20/14/de1db758-f051-4d86-8219-65ede78a9c06/ 2022-09-20 14:07:48 destination > Storage bucket gwat_live/t_profiles_education has been cleaned-up (1 objects were deleted)... 2022-09-20 14:07:48 destination > Cleaning up destination completed. 2022-09-20 14:07:48 INFO i.a.w.g.DefaultReplicationWorker(lambda$getDestinationOutputRunnable$7):445 - State in DefaultReplicationWorker from destination: io.airbyte.protocol.models.AirbyteMessage@3357a811[type=STATE,log=,spec=,connectionStatus=,catalog=,record=,state=io.airbyte.protocol.models.AirbyteStateMessage@3d90400b[type=GLOBAL,stream=,global=io.airbyte.protocol.models.AirbyteGlobalState@39afc361[sharedState={"state":{"mysql_db_history":"{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955574,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"\",\"ddl\":\"SET character_set_server=utf8mb4, collation_server=utf8mb4_0900_ai_ci\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`activity_log`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`certificates`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`characteristics`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`childcare_experiences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`chores`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`convictions`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`dietaries`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`education`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`employment_duties`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`employment_history`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`healths`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`language_interests`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`languages`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`licences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`notification_settings`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`position_preferences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`qualifications`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`requests`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`resumes`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`skills`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`statuses`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`trip_preferences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP DATABASE IF EXISTS `t_profiles`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DATABASE `t_profiles` CHARSET latin1 COLLATE latin1_swedish_ci\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"USE `t_profiles`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `activity_log` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `table_name` char(255) DEFAULT NULL,\\n `field_name` char(255) DEFAULT NULL,\\n `record_id` bigint unsigned DEFAULT NULL,\\n `value` text,\\n `time` int DEFAULT NULL,\\n `staff_id` int unsigned DEFAULT NULL,\\n `action` tinyint unsigned NOT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_activity_log_staff_id` (`staff_id`),\\n CONSTRAINT `fk_t_profiles_activity_log_staff_id` FOREIGN KEY (`staff_id`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=1006104 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"activity_log\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"table_name\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":255,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"field_name\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":255,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"record_id\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"value\",\"jdbcType\":12,\"typeName\":\"TEXT\",\"typeExpression\":\"TEXT\",\"charsetName\":\"latin1\",\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"time\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"staff_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"action\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `certificates` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_certificates_cb` (`_cb`),\\n KEY `fk_t_profiles_certificates_lmb` (`_lmb`),\\n KEY `fk_certificates_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_certificates_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_certificates_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_certificates_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=58532 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"certificates\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `characteristics` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `description` varchar(500) DEFAULT NULL,\\n `interests` varchar(500) DEFAULT NULL,\\n `positive_traits` varchar(500) DEFAULT NULL,\\n `religion` varchar(100) DEFAULT NULL,\\n `smoking_habit` varchar(100) DEFAULT NULL,\\n `lived_from_home` tinyint(1) DEFAULT NULL,\\n `lived_from_home_details` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_character_travellers` (`cid`),\\n KEY `fk_t_profiles_characteristics_cb` (`_cb`),\\n KEY `fk_t_profiles_characteristics_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_character_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_characteristics_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_characteristics_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2811 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"characteristics\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"interests\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"positive_traits\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"religion\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"smoking_habit\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"lived_from_home\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"lived_from_home_details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `childcare_experiences` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `age_infants` varchar(100) DEFAULT NULL,\\n `age_1_5` varchar(100) DEFAULT NULL,\\n `age_5_10` varchar(100) DEFAULT NULL,\\n `age_10_over` varchar(100) DEFAULT NULL,\\n `ideal_job` varchar(500) DEFAULT NULL,\\n `motivation` varchar(500) DEFAULT NULL,\\n `childcare_negatives` varchar(500) DEFAULT NULL,\\n `childcare_positives` varchar(500) DEFAULT NULL,\\n `discipline_with_children` varchar(500) DEFAULT NULL,\\n `activities_with_children` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_childcare_travellers` (`cid`),\\n KEY `fk_t_profiles_childcare_experiences_cb` (`_cb`),\\n KEY `fk_t_profiles_childcare_experiences_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_childcare_experiences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_childcare_experiences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_childcare_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2822 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"childcare_experiences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"age_infants\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"age_1_5\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"age_5_10\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"age_10_over\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"ideal_job\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"motivation\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"childcare_negatives\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"childcare_positives\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"discipline_with_children\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"activities_with_children\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":14,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":15,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":16,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `chores` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `child_meals` tinyint(1) DEFAULT NULL,\\n `light_housework` tinyint(1) DEFAULT NULL,\\n `general_housework` varchar(100) DEFAULT NULL,\\n `housework_unwilling` tinyint(1) DEFAULT NULL,\\n `housework_unwilling_details` varchar(500) DEFAULT NULL,\\n `meal_prep` varchar(100) DEFAULT NULL,\\n `accustomed_chores` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_chores_travellers` (`cid`),\\n KEY `fk_t_profiles_chores_cb` (`_cb`),\\n KEY `fk_t_profiles_chores_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_chores_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_chores_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_chores_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2824 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"chores\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"child_meals\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"light_housework\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"general_housework\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"housework_unwilling\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"housework_unwilling_details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"meal_prep\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"accustomed_chores\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `convictions` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `type` varchar(32) DEFAULT NULL,\\n `description` varchar(1024) DEFAULT NULL,\\n `date_occurred` int DEFAULT NULL,\\n `bac` decimal(6,3) DEFAULT NULL,\\n `user_answer` tinyint unsigned NOT NULL DEFAULT '0',\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_convictions_travellers` (`cid`),\\n KEY `fk_t_profiles_convictions_cb` (`_cb`),\\n KEY `fk_t_profiles_convictions_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_convictions_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_convictions_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_convictions_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"convictions\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":32,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1024,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_occurred\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"bac\",\"jdbcType\":3,\"typeName\":\"DECIMAL\",\"typeExpression\":\"DECIMAL\",\"charsetName\":null,\"length\":6,\"scale\":3,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"user_answer\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"0\",\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `dietaries` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `has_requirements` tinyint(1) DEFAULT NULL,\\n `requirements` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_dietary_travellers` (`cid`),\\n KEY `fk_t_profiles_dietaries_cb` (`_cb`),\\n KEY `fk_t_profiles_dietaries_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_dietaries_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_dietaries_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_dietary_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2378 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"dietaries\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"has_requirements\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"requirements\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `education` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `title` varchar(100) DEFAULT NULL,\\n `institution` varchar(100) DEFAULT NULL,\\n `date_from` varchar(30) DEFAULT NULL,\\n `date_to` varchar(30) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_education_cb` (`_cb`),\\n KEY `fk_t_profiles_education_lmb` (`_lmb`),\\n KEY `fk_education_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_education_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_education_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_education_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=37762 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"education\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"title\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"institution\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_from\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_to\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `employment_duties` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `employment_id` int unsigned NOT NULL,\\n `details` varchar(200) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_employment_duties_cb` (`_cb`),\\n KEY `fk_t_profiles_employment_duties_lmb` (`_lmb`),\\n KEY `fk_employment_duties_employment_history_idx` (`employment_id`),\\n KEY `fk_employment_duties_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_employment_duties_employment_history` FOREIGN KEY (`employment_id`) REFERENCES `employment_history` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_employment_duties_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_duties_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_duties_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=438848 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"employment_duties\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"employment_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":200,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `employment_history` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `title` varchar(100) DEFAULT NULL,\\n `company` varchar(100) DEFAULT NULL,\\n `website` varchar(100) DEFAULT NULL,\\n `date_from` varchar(30) DEFAULT NULL,\\n `date_to` varchar(30) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_employment_history_cb` (`_cb`),\\n KEY `fk_t_profiles_employment_history_lmb` (`_lmb`),\\n KEY `fk_employment_history_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_employment_history_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_history_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_history_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=83190 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"employment_history\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"title\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"company\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"website\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_from\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_to\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `healths` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `type` varchar(32) DEFAULT NULL,\\n `description` varchar(1024) DEFAULT NULL,\\n `user_answer` tinyint unsigned NOT NULL DEFAULT '0',\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_health_travellers` (`cid`),\\n KEY `fk_t_profiles_healths_cb` (`_cb`),\\n KEY `fk_t_profiles_healths_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_health_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_healths_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_healths_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"healths\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":32,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1024,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"user_answer\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":5,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"0\",\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `language_interests` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `has_other` tinyint(1) DEFAULT NULL,\\n `other_interest` tinyint(1) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_language_interest_travellers` (`cid`),\\n KEY `fk_t_profiles_language_interests_cb` (`_cb`),\\n KEY `fk_t_profiles_language_interests_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_language_interest_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_language_interests_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_language_interests_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2745 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"language_interests\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"has_other\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"other_interest\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `languages` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `language` varchar(100) DEFAULT NULL,\\n `fluency` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_languages_travellers` (`cid`),\\n KEY `fk_t_profiles_languages_cb` (`_cb`),\\n KEY `fk_t_profiles_languages_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_languages_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_languages_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_languages_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=4600 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"languages\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"language\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"fluency\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `licences` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_licences_cb` (`_cb`),\\n KEY `fk_t_profiles_licences_lmb` (`_lmb`),\\n KEY `fk_licences_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_licences_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_licences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_licences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=30608 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"licences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `notification_settings` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `settings` json DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n UNIQUE KEY `cid` (`cid`),\\n KEY `fk_t_profiles_notification_settings_cb` (`_cb`),\\n KEY `fk_t_profiles_notification_settings_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_notification_settings_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`),\\n CONSTRAINT `fk_t_profiles_notification_settings_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`)\\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"notification_settings\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"settings\",\"jdbcType\":1111,\"typeName\":\"JSON\",\"typeExpression\":\"JSON\",\"charsetName\":null,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `position_preferences` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `family_with_2c_up` tinyint(1) DEFAULT NULL,\\n `family_with_single_parent` tinyint(1) DEFAULT NULL,\\n `family_with_pets` tinyint(1) DEFAULT NULL,\\n `family_with_special_needs` tinyint(1) DEFAULT NULL,\\n `family_with_sole_in_charge` tinyint(1) DEFAULT NULL,\\n `work_weekends` varchar(50) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_position_preferences_travellers` (`cid`),\\n KEY `fk_t_profiles_position_preferences_cb` (`_cb`),\\n KEY `fk_t_profiles_position_preferences_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_position_preferences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_position_preferences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_position_preferences_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2819 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"position_preferences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"family_with_2c_up\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_single_parent\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_pets\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_special_needs\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_sole_in_charge\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"work_weekends\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":50,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `qualifications` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `international_drivers_license` varchar(100) DEFAULT NULL,\\n `international_drivers_license_type` varchar(32) DEFAULT NULL,\\n `international_drivers_license_date` int DEFAULT NULL,\\n `first_aid` tinyint(1) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_qualifications_travellers` (`cid`),\\n KEY `fk_t_profiles_qualifications_cb` (`_cb`),\\n KEY `fk_t_profiles_qualifications_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_qualifications_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_qualifications_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_qualifications_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2795 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"qualifications\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"international_drivers_license\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"international_drivers_license_type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":32,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"international_drivers_license_date\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"first_aid\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `requests` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `resume_id` int unsigned NOT NULL,\\n `type` varchar(30) NOT NULL,\\n `description` varchar(1000) NOT NULL,\\n `requested_by` varchar(30) NOT NULL,\\n `requested_at` int NOT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_requests_cb` (`_cb`),\\n KEY `fk_t_profiles_requests_lmb` (`_lmb`),\\n KEY `fk_requests_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_requests_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_requests_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_requests_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=4683 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"requests\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1000,\"position\":4,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"requested_by\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":5,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"requested_at\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `resumes` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `status` varchar(100) DEFAULT NULL,\\n `step_index` smallint unsigned NOT NULL DEFAULT '1',\\n `s3_resume_pic` varchar(512) DEFAULT NULL,\\n `date_created` varchar(30) NOT NULL,\\n `date_modified` varchar(30) NOT NULL,\\n `first_name` varchar(100) DEFAULT NULL,\\n `middle_name` varchar(100) DEFAULT NULL,\\n `last_name` varchar(100) DEFAULT NULL,\\n `email` varchar(100) DEFAULT NULL,\\n `phone_code` char(16) DEFAULT NULL,\\n `phone` varchar(100) DEFAULT NULL,\\n `skype` varchar(100) DEFAULT NULL,\\n `introduction` varchar(1000) DEFAULT NULL,\\n `objectives` varchar(1000) DEFAULT NULL,\\n `cid` bigint unsigned NOT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_resumes_cb` (`_cb`),\\n KEY `fk_t_profiles_resumes_lmb` (`_lmb`),\\n KEY `fk_resumes_travellers_idx` (`cid`),\\n CONSTRAINT `fk_resumes_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_resumes_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_resumes_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=30617 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"resumes\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"status\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"step_index\",\"jdbcType\":5,\"typeName\":\"SMALLINT UNSIGNED\",\"typeExpression\":\"SMALLINT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"1\",\"enumValues\":[]},{\"name\":\"s3_resume_pic\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":512,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_created\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":5,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"date_modified\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":6,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"first_name\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"middle_name\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"last_name\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"email\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"phone_code\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":16,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"phone\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"skype\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"introduction\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1000,\"position\":14,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"objectives\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1000,\"position\":15,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":16,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":17,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":18,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":19,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":20,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `skills` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_skills_cb` (`_cb`),\\n KEY `fk_t_profiles_skills_lmb` (`_lmb`),\\n KEY `fk_skills_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_skills_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_skills_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_skills_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=122837 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"skills\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `statuses` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `aupair_status` varchar(100) DEFAULT NULL,\\n `aupair_step_index` smallint unsigned NOT NULL DEFAULT '1',\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_statuses_travellers` (`cid`),\\n KEY `idx_t_profiles_qualifications_travellers` (`cid`),\\n KEY `fk_t_profiles_statuses_cb` (`_cb`),\\n KEY `fk_t_profiles_statuses_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_statuses_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_statuses_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_statuses_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=3124 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"statuses\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"aupair_status\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"aupair_step_index\",\"jdbcType\":5,\"typeName\":\"SMALLINT UNSIGNED\",\"typeExpression\":\"SMALLINT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"1\",\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `trip_preferences` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `departure_earliest` int DEFAULT NULL,\\n `departure_latest` int DEFAULT NULL,\\n `stay_12_months` tinyint(1) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_trip_preferences_travellers` (`cid`),\\n KEY `fk_t_profiles_trip_preferences_cb` (`_cb`),\\n KEY `fk_t_profiles_trip_preferences_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_trip_preferences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_trip_preferences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_trip_preferences_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2785 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"trip_preferences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"departure_earliest\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"departure_latest\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"stay_12_months\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26246922,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247143,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247364,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247585,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247806,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26248165,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26249666,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26250108,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26250589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26251721,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252030,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252254,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252478,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252702,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252926,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26253291,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26256418,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26256866,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26257356,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26259575,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26259890,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260120,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260350,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260580,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260810,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26261187,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26265382,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26265842,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26266350,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26269304,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26269604,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26269819,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270034,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270249,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270464,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270811,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26273923,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26274353,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26274816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26276978,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277283,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277503,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277723,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277943,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26278163,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26278520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26280875,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26281315,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26281793,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26283502,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26283805,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284023,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284459,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284677,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26285030,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26286537,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26286973,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26287445,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26288571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26288874,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289092,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289310,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289528,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26290099,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26292456,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26292892,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26293364,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295065,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295376,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295602,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26296054,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26296280,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26296649,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26298498,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26298950,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26299446,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26300821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301587,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301814,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26302041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26302412,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26305129,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26305583,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26306082,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308058,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308359,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308575,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308791,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26309007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26309223,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26309572,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26311315,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26311747,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26312213,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26313500,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26313812,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314039,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314266,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314493,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314720,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26315091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26316632,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26317086,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26317585,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26318755,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319058,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319276,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319494,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319712,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319930,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26320283,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26321738,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26322174,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26322646,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26323746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324048,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324265,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324482,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324916,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26325267,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26326744,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26327178,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26327647,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26328755,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329070,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329300,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329530,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329990,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26330367,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26331596,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26332056,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26332564,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26333531,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26333845,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334074,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334303,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334532,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334761,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26335136,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26338161,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26338619,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26339124,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26341264,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26341572,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26341795,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342018,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342464,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342827,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26345202,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26345648,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26346135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26347815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348117,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348334,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348551,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348768,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348985,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26349336,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26351419,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26351853,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26352322,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26353832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354349,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354565,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354781,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354997,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26355346,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26360325,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26360757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26361223,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26364667,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26364967,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365182,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365397,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365827,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26366174,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26367639,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26368069,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26368532,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26369628,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26369930,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370147,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370364,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370581,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370798,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26371149,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26372658,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26373092,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26373561,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26374685,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26374995,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375220,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375445,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375670,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375895,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26376262,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26378156,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26378606,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26379099,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26380493,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481147,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481372,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481597,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481822,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13482047,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13482414,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13484308,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13484758,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13485251,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13486645,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13486947,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487164,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487381,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487598,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13488166,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13489675,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13490109,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13490578,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13491702,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492002,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492217,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492432,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492647,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13493209,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13494674,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13495104,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13495567,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13496663,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13496964,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497180,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497396,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13498177,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13503156,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13503588,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13504054,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13507498,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13507800,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508017,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508234,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508451,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508668,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13509019,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13511102,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13511536,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13512005,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13513515,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13513823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514046,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514269,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514492,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514715,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13515078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13517453,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13517899,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13518386,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520066,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520380,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520609,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520838,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13521067,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13521296,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13521671,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13524696,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13525154,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13525659,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13527799,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528101,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528318,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528535,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528752,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528969,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13529320,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13530797,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13531231,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13531700,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13532808,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533329,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533547,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533765,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533983,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13534336,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13535791,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13536227,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13536699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13537799,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538338,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538565,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538792,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13539019,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13539390,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13540931,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13541385,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13541884,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543054,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543355,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543787,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13544003,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13544219,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13544568,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13546311,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13546743,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13547209,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13548496,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13548808,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549035,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549262,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549489,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549716,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13550087,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13552804,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13553258,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13553757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13555733,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556044,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556270,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556496,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556722,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556948,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13557317,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13559166,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13559618,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13560114,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13561489,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13561792,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562010,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562228,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562446,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562664,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13563017,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13565374,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13565810,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13566282,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13567983,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568286,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568504,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568722,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568940,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13569158,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13569511,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13571018,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13571454,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13571926,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573052,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573357,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573577,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573797,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13574017,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13574237,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13574594,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13576949,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13577389,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13577867,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13579576,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13579876,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580306,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580521,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580736,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13581083,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13584195,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13584625,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13585088,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13587250,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13587565,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13587795,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588025,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588255,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588485,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13593057,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13593517,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13594025,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13596979,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597288,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597512,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597736,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597960,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13598184,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13598549,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13601676,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13602124,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13602614,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13604833,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605139,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605581,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605802,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13606023,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13606382,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13607883,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13608325,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13608806,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13609938,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610253,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610483,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610713,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610943,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13611173,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13611550,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13612779,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13613239,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13613747,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13614714,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675669,\"file\":\"mysql-bin-changelog.000033\",\"pos\":14524623,\"server_id\":239712215},\"databaseName\":\"\",\"ddl\":\"CREATE TABLE IF NOT EXISTS `a_affiliate`.activity_log (\\n id INTEGER(11) UNSIGNED PRIMARY KEY AUTO_INCREMENT,\\n table_name CHAR(255),\\n field_name CHAR(255),\\n record_id BIGINT(11) UNSIGNED,\\n value TEXT(2048),\\n time INTEGER(11),\\n staff_id INTEGER(11) UNSIGNED,\\n action TINYINT(8) UNSIGNED NOT NULL,\\n CONSTRAINT `fk_a_affiliate_activity_log_staff_id`\\n FOREIGN KEY (staff_id) REFERENCES crm_config.legacy_users(id)\\n )\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675670,\"file\":\"mysql-bin-changelog.000033\",\"pos\":14607140,\"server_id\":239712215},\"databaseName\":\"\",\"ddl\":\"CREATE TABLE IF NOT EXISTS `a_audience`.activity_log (\\n id INTEGER(11) UNSIGNED PRIMARY KEY AUTO_INCREMENT,\\n table_name CHAR(255),\\n field_name CHAR(255),\\n record_id BIGINT(11) UNSIGNED,\\n value TEXT(2048),\\n time INTEGER(11),\\n staff_id INTEGER(11) UNSIGNED,\\n action TINYINT(8) UNSIGNED NOT NULL,\\n CONSTRAINT `fk_a_audience_activity_log_staff_id`\\n FOREIGN KEY (staff_id) REFERENCES crm_config.legacy_users(id)\\n )\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945171,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945396,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945621,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945846,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946071,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946438,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948332,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948782,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15949275,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950669,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950971,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951188,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951405,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951622,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951839,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15952190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15953699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954602,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15955726,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956026,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956456,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956671,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15957233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15958698,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959128,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959591,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960687,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960988,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961204,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961420,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961636,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961852,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15962201,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967180,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15968078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971522,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971824,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972258,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972475,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972692,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15973043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975126,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975560,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15976029,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977539,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977847,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978070,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978293,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978516,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978739,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15979102,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981477,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981923,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15982410,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984090,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984404,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984633,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985320,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985695,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15988720,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989178,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989683,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15991823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992125,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992342,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992559,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992776,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992993,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15993344,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15994821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995255,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995724,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15996832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997353,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997789,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15999815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000251,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000723,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16001823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002362,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003414,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16004955,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005409,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005908,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007379,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007595,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007811,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008027,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008243,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008592,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010335,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010767,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16011233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013059,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013286,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013740,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16014111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16016828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017282,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017781,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16019757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020068,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020294,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020972,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16021341,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023642,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16024138,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026034,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026252,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026470,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026688,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16027041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029398,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029834,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16030306,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032310,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032528,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032964,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033182,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033535,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035042,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035478,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035950,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037076,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037381,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037601,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038261,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038618,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16040973,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041413,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041891,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043600,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043900,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044115,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044330,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044545,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16045107,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048219,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048649,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16049112,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051274,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051819,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052279,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052509,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057081,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057541,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16058049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061003,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061312,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061536,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061984,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062208,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062573,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16065700,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066148,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066638,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16068857,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069163,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069384,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069605,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069826,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070047,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070406,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16071907,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072349,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072830,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16073962,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074277,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074507,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074737,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074967,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075197,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075574,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16076803,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077263,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077771,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16078738,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945171,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945396,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945621,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945846,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946071,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946438,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948332,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948782,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15949275,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950669,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950971,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951188,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951405,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951622,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951839,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15952190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15953699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954602,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15955726,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956026,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956456,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956671,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15957233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15958698,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959128,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959591,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960687,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960988,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961204,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961420,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961636,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961852,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15962201,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967180,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15968078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971522,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971824,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972258,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972475,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972692,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15973043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975126,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975560,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15976029,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977539,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977847,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978070,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978293,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978516,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978739,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15979102,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981477,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981923,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15982410,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984090,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984404,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984633,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985320,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985695,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15988720,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989178,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989683,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15991823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992125,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992342,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992559,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992776,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992993,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15993344,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15994821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995255,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995724,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15996832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997353,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997789,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15999815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000251,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000723,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16001823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002362,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003414,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16004955,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005409,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005908,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007379,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007595,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007811,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008027,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008243,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008592,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010335,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010767,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16011233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013059,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013286,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013740,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16014111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16016828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017282,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017781,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16019757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020068,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020294,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020972,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16021341,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023642,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16024138,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026034,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026252,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026470,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026688,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16027041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029398,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029834,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16030306,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032310,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032528,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032964,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033182,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033535,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035042,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035478,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035950,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037076,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037381,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037601,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038261,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038618,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16040973,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041413,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041891,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043600,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043900,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044115,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044330,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044545,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16045107,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048219,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048649,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16049112,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051274,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051819,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052279,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052509,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057081,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057541,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16058049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061003,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061312,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061536,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061984,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062208,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062573,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16065700,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066148,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066638,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16068857,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069163,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069384,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069605,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069826,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070047,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070406,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16071907,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072349,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072830,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16073962,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074277,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074507,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074737,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074967,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075197,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075574,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16076803,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077263,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077771,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16078738,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n","mysql_cdc_offset":{"{\"schema\":null,\"payload\":[\"t_profiles\",{\"server\":\"t_profiles\"}]}":"{\"transaction_id\":null,\"ts_sec\":1663682030,\"file\":\"mysql-bin-changelog.000033\",\"pos\":17424560,\"row\":1,\"server_id\":239712215,\"event\":4}"}}},streamStates=[io.airbyte.protocol.models.AirbyteStreamState@7cad4a30[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@72b47294[name=activity_log,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"activity_log","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@4d9bf4d1[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@a6892c8[name=certificates,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"certificates","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@1c82b57f[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@4d7354a9[name=characteristics,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"characteristics","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@5f5c1caa[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@116c3b5b[name=childcare_experiences,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"childcare_experiences","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@18cc4d44[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@4fcd84e8[name=chores,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"chores","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@70cb68f7[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@8d3356[name=convictions,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"convictions","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@7a51e86e[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@5918d908[name=dietaries,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"dietaries","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@72bf8e0c[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@1b41148e[name=education,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"education","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@6e268d10[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@7169d945[name=employment_duties,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"employment_duties","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@7f28f68a[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@6c5e6885[name=employment_history,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"employment_history","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@36ca2613[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@956627e[name=healths,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"healths","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@31724978[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@2ef71593[name=language_interests,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"language_interests","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@49ea44e0[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@73959a31[name=languages,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"languages","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@500f24b2[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@4642e8ad[name=licences,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"licences","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@5d9479c1[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@20f3450[name=notification_settings,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"notification_settings","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@2b8caa17[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@7a5a384b[name=position_preferences,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"position_preferences","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@47e1cb0[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@7fa805db[name=qualifications,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"qualifications","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@31bac42b[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@1a892a37[name=requests,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"requests","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@6ee62e4a[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@515f6890[name=resumes,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"resumes","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@36a3750c[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@6528297d[name=skills,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"skills","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@3a63dfec[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@10522bd8[name=statuses,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"statuses","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@3df437cb[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@193382c9[name=trip_preferences,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"trip_preferences","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}], io.airbyte.protocol.models.AirbyteStreamState@3d8ba2bc[streamDescriptor=io.airbyte.protocol.models.StreamDescriptor@3c06423e[name=v_profile_summary,namespace=t_profiles,additionalProperties={}],streamState={"stream_name":"v_profile_summary","stream_namespace":"t_profiles","cursor_field":[]},additionalProperties={}]],additionalProperties={}],data={"cdc":true,"cdc_state":{"state":{"mysql_db_history":"{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955574,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"\",\"ddl\":\"SET character_set_server=utf8mb4, collation_server=utf8mb4_0900_ai_ci\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`activity_log`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`certificates`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`characteristics`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`childcare_experiences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`chores`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`convictions`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`dietaries`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`education`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`employment_duties`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`employment_history`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`healths`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`language_interests`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`languages`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`licences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`notification_settings`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`position_preferences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`qualifications`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`requests`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`resumes`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`skills`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`statuses`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`trip_preferences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP DATABASE IF EXISTS `t_profiles`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DATABASE `t_profiles` CHARSET latin1 COLLATE latin1_swedish_ci\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"USE `t_profiles`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `activity_log` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `table_name` char(255) DEFAULT NULL,\\n `field_name` char(255) DEFAULT NULL,\\n `record_id` bigint unsigned DEFAULT NULL,\\n `value` text,\\n `time` int DEFAULT NULL,\\n `staff_id` int unsigned DEFAULT NULL,\\n `action` tinyint unsigned NOT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_activity_log_staff_id` (`staff_id`),\\n CONSTRAINT `fk_t_profiles_activity_log_staff_id` FOREIGN KEY (`staff_id`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=1006104 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"activity_log\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"table_name\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":255,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"field_name\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":255,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"record_id\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"value\",\"jdbcType\":12,\"typeName\":\"TEXT\",\"typeExpression\":\"TEXT\",\"charsetName\":\"latin1\",\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"time\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"staff_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"action\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `certificates` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_certificates_cb` (`_cb`),\\n KEY `fk_t_profiles_certificates_lmb` (`_lmb`),\\n KEY `fk_certificates_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_certificates_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_certificates_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_certificates_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=58532 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"certificates\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `characteristics` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `description` varchar(500) DEFAULT NULL,\\n `interests` varchar(500) DEFAULT NULL,\\n `positive_traits` varchar(500) DEFAULT NULL,\\n `religion` varchar(100) DEFAULT NULL,\\n `smoking_habit` varchar(100) DEFAULT NULL,\\n `lived_from_home` tinyint(1) DEFAULT NULL,\\n `lived_from_home_details` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_character_travellers` (`cid`),\\n KEY `fk_t_profiles_characteristics_cb` (`_cb`),\\n KEY `fk_t_profiles_characteristics_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_character_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_characteristics_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_characteristics_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2811 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"characteristics\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"interests\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"positive_traits\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"religion\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"smoking_habit\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"lived_from_home\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"lived_from_home_details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `childcare_experiences` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `age_infants` varchar(100) DEFAULT NULL,\\n `age_1_5` varchar(100) DEFAULT NULL,\\n `age_5_10` varchar(100) DEFAULT NULL,\\n `age_10_over` varchar(100) DEFAULT NULL,\\n `ideal_job` varchar(500) DEFAULT NULL,\\n `motivation` varchar(500) DEFAULT NULL,\\n `childcare_negatives` varchar(500) DEFAULT NULL,\\n `childcare_positives` varchar(500) DEFAULT NULL,\\n `discipline_with_children` varchar(500) DEFAULT NULL,\\n `activities_with_children` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_childcare_travellers` (`cid`),\\n KEY `fk_t_profiles_childcare_experiences_cb` (`_cb`),\\n KEY `fk_t_profiles_childcare_experiences_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_childcare_experiences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_childcare_experiences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_childcare_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2822 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"childcare_experiences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"age_infants\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"age_1_5\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"age_5_10\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"age_10_over\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"ideal_job\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"motivation\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"childcare_negatives\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"childcare_positives\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"discipline_with_children\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"activities_with_children\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":14,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":15,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":16,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `chores` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `child_meals` tinyint(1) DEFAULT NULL,\\n `light_housework` tinyint(1) DEFAULT NULL,\\n `general_housework` varchar(100) DEFAULT NULL,\\n `housework_unwilling` tinyint(1) DEFAULT NULL,\\n `housework_unwilling_details` varchar(500) DEFAULT NULL,\\n `meal_prep` varchar(100) DEFAULT NULL,\\n `accustomed_chores` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_chores_travellers` (`cid`),\\n KEY `fk_t_profiles_chores_cb` (`_cb`),\\n KEY `fk_t_profiles_chores_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_chores_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_chores_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_chores_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2824 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"chores\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"child_meals\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"light_housework\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"general_housework\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"housework_unwilling\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"housework_unwilling_details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"meal_prep\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"accustomed_chores\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `convictions` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `type` varchar(32) DEFAULT NULL,\\n `description` varchar(1024) DEFAULT NULL,\\n `date_occurred` int DEFAULT NULL,\\n `bac` decimal(6,3) DEFAULT NULL,\\n `user_answer` tinyint unsigned NOT NULL DEFAULT '0',\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_convictions_travellers` (`cid`),\\n KEY `fk_t_profiles_convictions_cb` (`_cb`),\\n KEY `fk_t_profiles_convictions_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_convictions_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_convictions_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_convictions_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"convictions\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":32,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1024,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_occurred\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"bac\",\"jdbcType\":3,\"typeName\":\"DECIMAL\",\"typeExpression\":\"DECIMAL\",\"charsetName\":null,\"length\":6,\"scale\":3,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"user_answer\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"0\",\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `dietaries` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `has_requirements` tinyint(1) DEFAULT NULL,\\n `requirements` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_dietary_travellers` (`cid`),\\n KEY `fk_t_profiles_dietaries_cb` (`_cb`),\\n KEY `fk_t_profiles_dietaries_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_dietaries_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_dietaries_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_dietary_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2378 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"dietaries\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"has_requirements\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"requirements\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `education` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `title` varchar(100) DEFAULT NULL,\\n `institution` varchar(100) DEFAULT NULL,\\n `date_from` varchar(30) DEFAULT NULL,\\n `date_to` varchar(30) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_education_cb` (`_cb`),\\n KEY `fk_t_profiles_education_lmb` (`_lmb`),\\n KEY `fk_education_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_education_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_education_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_education_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=37762 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"education\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"title\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"institution\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_from\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_to\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `employment_duties` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `employment_id` int unsigned NOT NULL,\\n `details` varchar(200) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_employment_duties_cb` (`_cb`),\\n KEY `fk_t_profiles_employment_duties_lmb` (`_lmb`),\\n KEY `fk_employment_duties_employment_history_idx` (`employment_id`),\\n KEY `fk_employment_duties_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_employment_duties_employment_history` FOREIGN KEY (`employment_id`) REFERENCES `employment_history` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_employment_duties_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_duties_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_duties_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=438848 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"employment_duties\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"employment_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":200,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `employment_history` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `title` varchar(100) DEFAULT NULL,\\n `company` varchar(100) DEFAULT NULL,\\n `website` varchar(100) DEFAULT NULL,\\n `date_from` varchar(30) DEFAULT NULL,\\n `date_to` varchar(30) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_employment_history_cb` (`_cb`),\\n KEY `fk_t_profiles_employment_history_lmb` (`_lmb`),\\n KEY `fk_employment_history_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_employment_history_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_history_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_history_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=83190 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"employment_history\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"title\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"company\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"website\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_from\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_to\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `healths` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `type` varchar(32) DEFAULT NULL,\\n `description` varchar(1024) DEFAULT NULL,\\n `user_answer` tinyint unsigned NOT NULL DEFAULT '0',\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_health_travellers` (`cid`),\\n KEY `fk_t_profiles_healths_cb` (`_cb`),\\n KEY `fk_t_profiles_healths_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_health_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_healths_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_healths_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"healths\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":32,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1024,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"user_answer\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":5,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"0\",\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `language_interests` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `has_other` tinyint(1) DEFAULT NULL,\\n `other_interest` tinyint(1) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_language_interest_travellers` (`cid`),\\n KEY `fk_t_profiles_language_interests_cb` (`_cb`),\\n KEY `fk_t_profiles_language_interests_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_language_interest_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_language_interests_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_language_interests_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2745 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"language_interests\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"has_other\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"other_interest\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `languages` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `language` varchar(100) DEFAULT NULL,\\n `fluency` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_languages_travellers` (`cid`),\\n KEY `fk_t_profiles_languages_cb` (`_cb`),\\n KEY `fk_t_profiles_languages_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_languages_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_languages_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_languages_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=4600 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"languages\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"language\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"fluency\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `licences` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_licences_cb` (`_cb`),\\n KEY `fk_t_profiles_licences_lmb` (`_lmb`),\\n KEY `fk_licences_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_licences_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_licences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_licences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=30608 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"licences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `notification_settings` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `settings` json DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n UNIQUE KEY `cid` (`cid`),\\n KEY `fk_t_profiles_notification_settings_cb` (`_cb`),\\n KEY `fk_t_profiles_notification_settings_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_notification_settings_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`),\\n CONSTRAINT `fk_t_profiles_notification_settings_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`)\\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"notification_settings\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"settings\",\"jdbcType\":1111,\"typeName\":\"JSON\",\"typeExpression\":\"JSON\",\"charsetName\":null,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `position_preferences` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `family_with_2c_up` tinyint(1) DEFAULT NULL,\\n `family_with_single_parent` tinyint(1) DEFAULT NULL,\\n `family_with_pets` tinyint(1) DEFAULT NULL,\\n `family_with_special_needs` tinyint(1) DEFAULT NULL,\\n `family_with_sole_in_charge` tinyint(1) DEFAULT NULL,\\n `work_weekends` varchar(50) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_position_preferences_travellers` (`cid`),\\n KEY `fk_t_profiles_position_preferences_cb` (`_cb`),\\n KEY `fk_t_profiles_position_preferences_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_position_preferences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_position_preferences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_position_preferences_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2819 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"position_preferences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"family_with_2c_up\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_single_parent\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_pets\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_special_needs\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_sole_in_charge\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"work_weekends\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":50,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `qualifications` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `international_drivers_license` varchar(100) DEFAULT NULL,\\n `international_drivers_license_type` varchar(32) DEFAULT NULL,\\n `international_drivers_license_date` int DEFAULT NULL,\\n `first_aid` tinyint(1) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_qualifications_travellers` (`cid`),\\n KEY `fk_t_profiles_qualifications_cb` (`_cb`),\\n KEY `fk_t_profiles_qualifications_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_qualifications_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_qualifications_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_qualifications_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2795 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"qualifications\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"international_drivers_license\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"international_drivers_license_type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":32,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"international_drivers_license_date\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"first_aid\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `requests` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `resume_id` int unsigned NOT NULL,\\n `type` varchar(30) NOT NULL,\\n `description` varchar(1000) NOT NULL,\\n `requested_by` varchar(30) NOT NULL,\\n `requested_at` int NOT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_requests_cb` (`_cb`),\\n KEY `fk_t_profiles_requests_lmb` (`_lmb`),\\n KEY `fk_requests_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_requests_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_requests_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_requests_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=4683 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"requests\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1000,\"position\":4,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"requested_by\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":5,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"requested_at\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `resumes` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `status` varchar(100) DEFAULT NULL,\\n `step_index` smallint unsigned NOT NULL DEFAULT '1',\\n `s3_resume_pic` varchar(512) DEFAULT NULL,\\n `date_created` varchar(30) NOT NULL,\\n `date_modified` varchar(30) NOT NULL,\\n `first_name` varchar(100) DEFAULT NULL,\\n `middle_name` varchar(100) DEFAULT NULL,\\n `last_name` varchar(100) DEFAULT NULL,\\n `email` varchar(100) DEFAULT NULL,\\n `phone_code` char(16) DEFAULT NULL,\\n `phone` varchar(100) DEFAULT NULL,\\n `skype` varchar(100) DEFAULT NULL,\\n `introduction` varchar(1000) DEFAULT NULL,\\n `objectives` varchar(1000) DEFAULT NULL,\\n `cid` bigint unsigned NOT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_resumes_cb` (`_cb`),\\n KEY `fk_t_profiles_resumes_lmb` (`_lmb`),\\n KEY `fk_resumes_travellers_idx` (`cid`),\\n CONSTRAINT `fk_resumes_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_resumes_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_resumes_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=30617 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"resumes\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"status\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"step_index\",\"jdbcType\":5,\"typeName\":\"SMALLINT UNSIGNED\",\"typeExpression\":\"SMALLINT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"1\",\"enumValues\":[]},{\"name\":\"s3_resume_pic\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":512,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_created\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":5,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"date_modified\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":6,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"first_name\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"middle_name\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"last_name\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"email\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"phone_code\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":16,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"phone\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"skype\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"introduction\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1000,\"position\":14,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"objectives\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1000,\"position\":15,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":16,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":17,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":18,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":19,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":20,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `skills` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_skills_cb` (`_cb`),\\n KEY `fk_t_profiles_skills_lmb` (`_lmb`),\\n KEY `fk_skills_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_skills_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_skills_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_skills_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=122837 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"skills\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `statuses` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `aupair_status` varchar(100) DEFAULT NULL,\\n `aupair_step_index` smallint unsigned NOT NULL DEFAULT '1',\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_statuses_travellers` (`cid`),\\n KEY `idx_t_profiles_qualifications_travellers` (`cid`),\\n KEY `fk_t_profiles_statuses_cb` (`_cb`),\\n KEY `fk_t_profiles_statuses_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_statuses_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_statuses_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_statuses_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=3124 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"statuses\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"aupair_status\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"aupair_step_index\",\"jdbcType\":5,\"typeName\":\"SMALLINT UNSIGNED\",\"typeExpression\":\"SMALLINT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"1\",\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `trip_preferences` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `departure_earliest` int DEFAULT NULL,\\n `departure_latest` int DEFAULT NULL,\\n `stay_12_months` tinyint(1) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_trip_preferences_travellers` (`cid`),\\n KEY `fk_t_profiles_trip_preferences_cb` (`_cb`),\\n KEY `fk_t_profiles_trip_preferences_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_trip_preferences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_trip_preferences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_trip_preferences_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2785 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"trip_preferences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"departure_earliest\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"departure_latest\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"stay_12_months\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26246922,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247143,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247364,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247585,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247806,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26248165,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26249666,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26250108,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26250589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26251721,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252030,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252254,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252478,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252702,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252926,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26253291,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26256418,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26256866,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26257356,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26259575,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26259890,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260120,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260350,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260580,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260810,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26261187,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26265382,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26265842,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26266350,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26269304,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26269604,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26269819,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270034,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270249,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270464,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270811,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26273923,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26274353,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26274816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26276978,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277283,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277503,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277723,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277943,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26278163,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26278520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26280875,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26281315,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26281793,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26283502,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26283805,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284023,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284459,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284677,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26285030,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26286537,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26286973,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26287445,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26288571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26288874,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289092,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289310,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289528,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26290099,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26292456,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26292892,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26293364,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295065,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295376,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295602,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26296054,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26296280,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26296649,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26298498,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26298950,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26299446,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26300821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301587,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301814,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26302041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26302412,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26305129,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26305583,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26306082,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308058,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308359,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308575,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308791,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26309007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26309223,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26309572,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26311315,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26311747,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26312213,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26313500,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26313812,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314039,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314266,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314493,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314720,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26315091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26316632,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26317086,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26317585,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26318755,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319058,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319276,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319494,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319712,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319930,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26320283,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26321738,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26322174,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26322646,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26323746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324048,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324265,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324482,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324916,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26325267,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26326744,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26327178,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26327647,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26328755,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329070,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329300,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329530,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329990,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26330367,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26331596,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26332056,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26332564,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26333531,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26333845,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334074,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334303,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334532,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334761,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26335136,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26338161,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26338619,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26339124,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26341264,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26341572,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26341795,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342018,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342464,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342827,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26345202,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26345648,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26346135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26347815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348117,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348334,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348551,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348768,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348985,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26349336,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26351419,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26351853,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26352322,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26353832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354349,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354565,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354781,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354997,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26355346,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26360325,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26360757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26361223,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26364667,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26364967,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365182,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365397,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365827,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26366174,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26367639,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26368069,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26368532,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26369628,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26369930,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370147,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370364,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370581,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370798,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26371149,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26372658,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26373092,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26373561,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26374685,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26374995,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375220,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375445,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375670,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375895,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26376262,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26378156,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26378606,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26379099,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26380493,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481147,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481372,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481597,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481822,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13482047,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13482414,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13484308,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13484758,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13485251,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13486645,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13486947,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487164,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487381,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487598,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13488166,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13489675,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13490109,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13490578,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13491702,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492002,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492217,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492432,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492647,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13493209,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13494674,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13495104,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13495567,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13496663,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13496964,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497180,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497396,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13498177,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13503156,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13503588,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13504054,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13507498,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13507800,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508017,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508234,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508451,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508668,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13509019,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13511102,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13511536,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13512005,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13513515,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13513823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514046,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514269,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514492,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514715,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13515078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13517453,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13517899,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13518386,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520066,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520380,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520609,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520838,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13521067,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13521296,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13521671,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13524696,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13525154,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13525659,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13527799,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528101,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528318,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528535,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528752,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528969,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13529320,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13530797,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13531231,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13531700,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13532808,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533329,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533547,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533765,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533983,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13534336,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13535791,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13536227,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13536699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13537799,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538338,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538565,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538792,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13539019,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13539390,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13540931,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13541385,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13541884,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543054,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543355,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543787,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13544003,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13544219,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13544568,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13546311,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13546743,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13547209,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13548496,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13548808,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549035,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549262,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549489,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549716,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13550087,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13552804,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13553258,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13553757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13555733,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556044,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556270,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556496,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556722,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556948,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13557317,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13559166,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13559618,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13560114,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13561489,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13561792,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562010,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562228,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562446,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562664,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13563017,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13565374,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13565810,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13566282,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13567983,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568286,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568504,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568722,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568940,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13569158,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13569511,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13571018,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13571454,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13571926,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573052,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573357,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573577,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573797,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13574017,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13574237,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13574594,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13576949,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13577389,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13577867,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13579576,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13579876,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580306,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580521,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580736,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13581083,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13584195,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13584625,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13585088,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13587250,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13587565,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13587795,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588025,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588255,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588485,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13593057,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13593517,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13594025,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13596979,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597288,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597512,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597736,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597960,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13598184,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13598549,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13601676,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13602124,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13602614,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13604833,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605139,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605581,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605802,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13606023,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13606382,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13607883,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13608325,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13608806,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13609938,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610253,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610483,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610713,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610943,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13611173,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13611550,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13612779,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13613239,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13613747,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13614714,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675669,\"file\":\"mysql-bin-changelog.000033\",\"pos\":14524623,\"server_id\":239712215},\"databaseName\":\"\",\"ddl\":\"CREATE TABLE IF NOT EXISTS `a_affiliate`.activity_log (\\n id INTEGER(11) UNSIGNED PRIMARY KEY AUTO_INCREMENT,\\n table_name CHAR(255),\\n field_name CHAR(255),\\n record_id BIGINT(11) UNSIGNED,\\n value TEXT(2048),\\n time INTEGER(11),\\n staff_id INTEGER(11) UNSIGNED,\\n action TINYINT(8) UNSIGNED NOT NULL,\\n CONSTRAINT `fk_a_affiliate_activity_log_staff_id`\\n FOREIGN KEY (staff_id) REFERENCES crm_config.legacy_users(id)\\n )\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675670,\"file\":\"mysql-bin-changelog.000033\",\"pos\":14607140,\"server_id\":239712215},\"databaseName\":\"\",\"ddl\":\"CREATE TABLE IF NOT EXISTS `a_audience`.activity_log (\\n id INTEGER(11) UNSIGNED PRIMARY KEY AUTO_INCREMENT,\\n table_name CHAR(255),\\n field_name CHAR(255),\\n record_id BIGINT(11) UNSIGNED,\\n value TEXT(2048),\\n time INTEGER(11),\\n staff_id INTEGER(11) UNSIGNED,\\n action TINYINT(8) UNSIGNED NOT NULL,\\n CONSTRAINT `fk_a_audience_activity_log_staff_id`\\n FOREIGN KEY (staff_id) REFERENCES crm_config.legacy_users(id)\\n )\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945171,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945396,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945621,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945846,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946071,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946438,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948332,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948782,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15949275,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950669,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950971,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951188,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951405,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951622,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951839,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15952190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15953699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954602,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15955726,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956026,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956456,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956671,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15957233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15958698,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959128,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959591,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960687,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960988,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961204,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961420,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961636,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961852,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15962201,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967180,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15968078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971522,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971824,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972258,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972475,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972692,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15973043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975126,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975560,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15976029,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977539,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977847,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978070,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978293,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978516,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978739,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15979102,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981477,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981923,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15982410,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984090,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984404,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984633,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985320,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985695,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15988720,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989178,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989683,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15991823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992125,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992342,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992559,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992776,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992993,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15993344,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15994821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995255,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995724,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15996832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997353,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997789,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15999815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000251,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000723,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16001823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002362,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003414,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16004955,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005409,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005908,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007379,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007595,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007811,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008027,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008243,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008592,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010335,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010767,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16011233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013059,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013286,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013740,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16014111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16016828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017282,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017781,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16019757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020068,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020294,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020972,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16021341,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023642,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16024138,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026034,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026252,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026470,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026688,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16027041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029398,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029834,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16030306,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032310,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032528,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032964,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033182,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033535,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035042,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035478,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035950,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037076,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037381,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037601,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038261,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038618,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16040973,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041413,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041891,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043600,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043900,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044115,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044330,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044545,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16045107,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048219,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048649,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16049112,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051274,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051819,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052279,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052509,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057081,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057541,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16058049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061003,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061312,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061536,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061984,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062208,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062573,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16065700,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066148,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066638,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16068857,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069163,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069384,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069605,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069826,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070047,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070406,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16071907,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072349,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072830,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16073962,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074277,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074507,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074737,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074967,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075197,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075574,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16076803,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077263,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077771,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16078738,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945171,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945396,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945621,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945846,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946071,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946438,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948332,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948782,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15949275,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950669,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950971,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951188,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951405,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951622,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951839,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15952190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15953699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954602,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15955726,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956026,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956456,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956671,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15957233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15958698,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959128,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959591,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960687,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960988,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961204,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961420,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961636,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961852,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15962201,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967180,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15968078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971522,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971824,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972258,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972475,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972692,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15973043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975126,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975560,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15976029,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977539,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977847,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978070,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978293,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978516,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978739,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15979102,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981477,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981923,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15982410,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984090,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984404,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984633,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985320,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985695,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15988720,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989178,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989683,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15991823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992125,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992342,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992559,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992776,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992993,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15993344,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15994821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995255,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995724,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15996832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997353,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997789,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15999815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000251,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000723,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16001823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002362,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003414,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16004955,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005409,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005908,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007379,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007595,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007811,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008027,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008243,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008592,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010335,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010767,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16011233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013059,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013286,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013740,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16014111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16016828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017282,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017781,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16019757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020068,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020294,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020972,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16021341,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023642,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16024138,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026034,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026252,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026470,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026688,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16027041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029398,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029834,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16030306,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032310,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032528,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032964,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033182,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033535,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035042,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035478,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035950,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037076,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037381,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037601,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038261,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038618,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16040973,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041413,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041891,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043600,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043900,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044115,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044330,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044545,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16045107,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048219,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048649,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16049112,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051274,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051819,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052279,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052509,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057081,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057541,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16058049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061003,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061312,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061536,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061984,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062208,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062573,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16065700,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066148,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066638,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16068857,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069163,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069384,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069605,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069826,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070047,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070406,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16071907,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072349,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072830,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16073962,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074277,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074507,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074737,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074967,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075197,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075574,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16076803,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077263,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077771,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16078738,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n","mysql_cdc_offset":{"{\"schema\":null,\"payload\":[\"t_profiles\",{\"server\":\"t_profiles\"}]}":"{\"transaction_id\":null,\"ts_sec\":1663682030,\"file\":\"mysql-bin-changelog.000033\",\"pos\":17424560,\"row\":1,\"server_id\":239712215,\"event\":4}"}}},"streams":[{"stream_name":"activity_log","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"certificates","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"characteristics","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"childcare_experiences","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"chores","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"convictions","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"dietaries","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"education","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"employment_duties","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"employment_history","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"healths","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"language_interests","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"languages","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"licences","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"notification_settings","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"position_preferences","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"qualifications","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"requests","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"resumes","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"skills","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"statuses","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"trip_preferences","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"v_profile_summary","stream_namespace":"t_profiles","cursor_field":[]}]},additionalProperties={}],trace=,additionalProperties={}] 2022-09-20 14:07:48 destination > Completed integration: io.airbyte.integrations.destination.bigquery.BigQueryDestination 2022-09-20 14:07:49 INFO i.a.w.g.DefaultReplicationWorker(run):184 - Source and destination threads complete. 2022-09-20 14:07:49 INFO i.a.w.g.DefaultReplicationWorker(run):279 - Source output at least one state message 2022-09-20 14:07:49 INFO i.a.w.g.DefaultReplicationWorker(run):285 - State capture: Updated state to: Optional[io.airbyte.config.State@645fa63b[state=[{"type":"GLOBAL","global":{"shared_state":{"state":{"mysql_db_history":"{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955574,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"\",\"ddl\":\"SET character_set_server=utf8mb4, collation_server=utf8mb4_0900_ai_ci\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`activity_log`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`certificates`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`characteristics`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`childcare_experiences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`chores`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`convictions`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`dietaries`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`education`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`employment_duties`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`employment_history`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`healths`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`language_interests`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`languages`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`licences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`notification_settings`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`position_preferences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`qualifications`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`requests`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`resumes`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`skills`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`statuses`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`trip_preferences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP DATABASE IF EXISTS `t_profiles`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DATABASE `t_profiles` CHARSET latin1 COLLATE latin1_swedish_ci\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"USE `t_profiles`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `activity_log` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `table_name` char(255) DEFAULT NULL,\\n `field_name` char(255) DEFAULT NULL,\\n `record_id` bigint unsigned DEFAULT NULL,\\n `value` text,\\n `time` int DEFAULT NULL,\\n `staff_id` int unsigned DEFAULT NULL,\\n `action` tinyint unsigned NOT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_activity_log_staff_id` (`staff_id`),\\n CONSTRAINT `fk_t_profiles_activity_log_staff_id` FOREIGN KEY (`staff_id`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=1006104 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"activity_log\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"table_name\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":255,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"field_name\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":255,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"record_id\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"value\",\"jdbcType\":12,\"typeName\":\"TEXT\",\"typeExpression\":\"TEXT\",\"charsetName\":\"latin1\",\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"time\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"staff_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"action\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `certificates` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_certificates_cb` (`_cb`),\\n KEY `fk_t_profiles_certificates_lmb` (`_lmb`),\\n KEY `fk_certificates_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_certificates_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_certificates_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_certificates_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=58532 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"certificates\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `characteristics` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `description` varchar(500) DEFAULT NULL,\\n `interests` varchar(500) DEFAULT NULL,\\n `positive_traits` varchar(500) DEFAULT NULL,\\n `religion` varchar(100) DEFAULT NULL,\\n `smoking_habit` varchar(100) DEFAULT NULL,\\n `lived_from_home` tinyint(1) DEFAULT NULL,\\n `lived_from_home_details` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_character_travellers` (`cid`),\\n KEY `fk_t_profiles_characteristics_cb` (`_cb`),\\n KEY `fk_t_profiles_characteristics_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_character_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_characteristics_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_characteristics_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2811 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"characteristics\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"interests\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"positive_traits\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"religion\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"smoking_habit\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"lived_from_home\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"lived_from_home_details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `childcare_experiences` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `age_infants` varchar(100) DEFAULT NULL,\\n `age_1_5` varchar(100) DEFAULT NULL,\\n `age_5_10` varchar(100) DEFAULT NULL,\\n `age_10_over` varchar(100) DEFAULT NULL,\\n `ideal_job` varchar(500) DEFAULT NULL,\\n `motivation` varchar(500) DEFAULT NULL,\\n `childcare_negatives` varchar(500) DEFAULT NULL,\\n `childcare_positives` varchar(500) DEFAULT NULL,\\n `discipline_with_children` varchar(500) DEFAULT NULL,\\n `activities_with_children` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_childcare_travellers` (`cid`),\\n KEY `fk_t_profiles_childcare_experiences_cb` (`_cb`),\\n KEY `fk_t_profiles_childcare_experiences_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_childcare_experiences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_childcare_experiences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_childcare_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2822 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"childcare_experiences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"age_infants\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"age_1_5\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"age_5_10\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"age_10_over\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"ideal_job\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"motivation\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"childcare_negatives\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"childcare_positives\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"discipline_with_children\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"activities_with_children\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":14,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":15,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":16,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `chores` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `child_meals` tinyint(1) DEFAULT NULL,\\n `light_housework` tinyint(1) DEFAULT NULL,\\n `general_housework` varchar(100) DEFAULT NULL,\\n `housework_unwilling` tinyint(1) DEFAULT NULL,\\n `housework_unwilling_details` varchar(500) DEFAULT NULL,\\n `meal_prep` varchar(100) DEFAULT NULL,\\n `accustomed_chores` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_chores_travellers` (`cid`),\\n KEY `fk_t_profiles_chores_cb` (`_cb`),\\n KEY `fk_t_profiles_chores_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_chores_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_chores_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_chores_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2824 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"chores\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"child_meals\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"light_housework\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"general_housework\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"housework_unwilling\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"housework_unwilling_details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"meal_prep\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"accustomed_chores\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `convictions` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `type` varchar(32) DEFAULT NULL,\\n `description` varchar(1024) DEFAULT NULL,\\n `date_occurred` int DEFAULT NULL,\\n `bac` decimal(6,3) DEFAULT NULL,\\n `user_answer` tinyint unsigned NOT NULL DEFAULT '0',\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_convictions_travellers` (`cid`),\\n KEY `fk_t_profiles_convictions_cb` (`_cb`),\\n KEY `fk_t_profiles_convictions_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_convictions_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_convictions_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_convictions_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"convictions\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":32,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1024,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_occurred\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"bac\",\"jdbcType\":3,\"typeName\":\"DECIMAL\",\"typeExpression\":\"DECIMAL\",\"charsetName\":null,\"length\":6,\"scale\":3,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"user_answer\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"0\",\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `dietaries` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `has_requirements` tinyint(1) DEFAULT NULL,\\n `requirements` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_dietary_travellers` (`cid`),\\n KEY `fk_t_profiles_dietaries_cb` (`_cb`),\\n KEY `fk_t_profiles_dietaries_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_dietaries_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_dietaries_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_dietary_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2378 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"dietaries\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"has_requirements\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"requirements\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `education` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `title` varchar(100) DEFAULT NULL,\\n `institution` varchar(100) DEFAULT NULL,\\n `date_from` varchar(30) DEFAULT NULL,\\n `date_to` varchar(30) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_education_cb` (`_cb`),\\n KEY `fk_t_profiles_education_lmb` (`_lmb`),\\n KEY `fk_education_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_education_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_education_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_education_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=37762 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"education\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"title\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"institution\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_from\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_to\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `employment_duties` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `employment_id` int unsigned NOT NULL,\\n `details` varchar(200) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_employment_duties_cb` (`_cb`),\\n KEY `fk_t_profiles_employment_duties_lmb` (`_lmb`),\\n KEY `fk_employment_duties_employment_history_idx` (`employment_id`),\\n KEY `fk_employment_duties_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_employment_duties_employment_history` FOREIGN KEY (`employment_id`) REFERENCES `employment_history` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_employment_duties_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_duties_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_duties_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=438848 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"employment_duties\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"employment_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":200,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `employment_history` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `title` varchar(100) DEFAULT NULL,\\n `company` varchar(100) DEFAULT NULL,\\n `website` varchar(100) DEFAULT NULL,\\n `date_from` varchar(30) DEFAULT NULL,\\n `date_to` varchar(30) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_employment_history_cb` (`_cb`),\\n KEY `fk_t_profiles_employment_history_lmb` (`_lmb`),\\n KEY `fk_employment_history_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_employment_history_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_history_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_history_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=83190 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"employment_history\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"title\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"company\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"website\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_from\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_to\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `healths` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `type` varchar(32) DEFAULT NULL,\\n `description` varchar(1024) DEFAULT NULL,\\n `user_answer` tinyint unsigned NOT NULL DEFAULT '0',\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_health_travellers` (`cid`),\\n KEY `fk_t_profiles_healths_cb` (`_cb`),\\n KEY `fk_t_profiles_healths_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_health_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_healths_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_healths_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"healths\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":32,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1024,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"user_answer\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":5,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"0\",\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `language_interests` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `has_other` tinyint(1) DEFAULT NULL,\\n `other_interest` tinyint(1) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_language_interest_travellers` (`cid`),\\n KEY `fk_t_profiles_language_interests_cb` (`_cb`),\\n KEY `fk_t_profiles_language_interests_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_language_interest_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_language_interests_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_language_interests_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2745 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"language_interests\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"has_other\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"other_interest\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `languages` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `language` varchar(100) DEFAULT NULL,\\n `fluency` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_languages_travellers` (`cid`),\\n KEY `fk_t_profiles_languages_cb` (`_cb`),\\n KEY `fk_t_profiles_languages_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_languages_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_languages_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_languages_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=4600 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"languages\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"language\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"fluency\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `licences` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_licences_cb` (`_cb`),\\n KEY `fk_t_profiles_licences_lmb` (`_lmb`),\\n KEY `fk_licences_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_licences_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_licences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_licences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=30608 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"licences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `notification_settings` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `settings` json DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n UNIQUE KEY `cid` (`cid`),\\n KEY `fk_t_profiles_notification_settings_cb` (`_cb`),\\n KEY `fk_t_profiles_notification_settings_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_notification_settings_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`),\\n CONSTRAINT `fk_t_profiles_notification_settings_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`)\\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"notification_settings\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"settings\",\"jdbcType\":1111,\"typeName\":\"JSON\",\"typeExpression\":\"JSON\",\"charsetName\":null,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `position_preferences` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `family_with_2c_up` tinyint(1) DEFAULT NULL,\\n `family_with_single_parent` tinyint(1) DEFAULT NULL,\\n `family_with_pets` tinyint(1) DEFAULT NULL,\\n `family_with_special_needs` tinyint(1) DEFAULT NULL,\\n `family_with_sole_in_charge` tinyint(1) DEFAULT NULL,\\n `work_weekends` varchar(50) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_position_preferences_travellers` (`cid`),\\n KEY `fk_t_profiles_position_preferences_cb` (`_cb`),\\n KEY `fk_t_profiles_position_preferences_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_position_preferences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_position_preferences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_position_preferences_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2819 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"position_preferences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"family_with_2c_up\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_single_parent\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_pets\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_special_needs\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_sole_in_charge\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"work_weekends\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":50,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `qualifications` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `international_drivers_license` varchar(100) DEFAULT NULL,\\n `international_drivers_license_type` varchar(32) DEFAULT NULL,\\n `international_drivers_license_date` int DEFAULT NULL,\\n `first_aid` tinyint(1) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_qualifications_travellers` (`cid`),\\n KEY `fk_t_profiles_qualifications_cb` (`_cb`),\\n KEY `fk_t_profiles_qualifications_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_qualifications_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_qualifications_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_qualifications_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2795 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"qualifications\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"international_drivers_license\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"international_drivers_license_type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":32,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"international_drivers_license_date\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"first_aid\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `requests` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `resume_id` int unsigned NOT NULL,\\n `type` varchar(30) NOT NULL,\\n `description` varchar(1000) NOT NULL,\\n `requested_by` varchar(30) NOT NULL,\\n `requested_at` int NOT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_requests_cb` (`_cb`),\\n KEY `fk_t_profiles_requests_lmb` (`_lmb`),\\n KEY `fk_requests_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_requests_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_requests_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_requests_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=4683 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"requests\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1000,\"position\":4,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"requested_by\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":5,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"requested_at\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `resumes` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `status` varchar(100) DEFAULT NULL,\\n `step_index` smallint unsigned NOT NULL DEFAULT '1',\\n `s3_resume_pic` varchar(512) DEFAULT NULL,\\n `date_created` varchar(30) NOT NULL,\\n `date_modified` varchar(30) NOT NULL,\\n `first_name` varchar(100) DEFAULT NULL,\\n `middle_name` varchar(100) DEFAULT NULL,\\n `last_name` varchar(100) DEFAULT NULL,\\n `email` varchar(100) DEFAULT NULL,\\n `phone_code` char(16) DEFAULT NULL,\\n `phone` varchar(100) DEFAULT NULL,\\n `skype` varchar(100) DEFAULT NULL,\\n `introduction` varchar(1000) DEFAULT NULL,\\n `objectives` varchar(1000) DEFAULT NULL,\\n `cid` bigint unsigned NOT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_resumes_cb` (`_cb`),\\n KEY `fk_t_profiles_resumes_lmb` (`_lmb`),\\n KEY `fk_resumes_travellers_idx` (`cid`),\\n CONSTRAINT `fk_resumes_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_resumes_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_resumes_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=30617 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"resumes\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"status\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"step_index\",\"jdbcType\":5,\"typeName\":\"SMALLINT UNSIGNED\",\"typeExpression\":\"SMALLINT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"1\",\"enumValues\":[]},{\"name\":\"s3_resume_pic\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":512,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_created\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":5,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"date_modified\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":6,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"first_name\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"middle_name\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"last_name\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"email\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"phone_code\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":16,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"phone\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"skype\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"introduction\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1000,\"position\":14,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"objectives\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1000,\"position\":15,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":16,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":17,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":18,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":19,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":20,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `skills` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_skills_cb` (`_cb`),\\n KEY `fk_t_profiles_skills_lmb` (`_lmb`),\\n KEY `fk_skills_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_skills_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_skills_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_skills_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=122837 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"skills\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `statuses` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `aupair_status` varchar(100) DEFAULT NULL,\\n `aupair_step_index` smallint unsigned NOT NULL DEFAULT '1',\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_statuses_travellers` (`cid`),\\n KEY `idx_t_profiles_qualifications_travellers` (`cid`),\\n KEY `fk_t_profiles_statuses_cb` (`_cb`),\\n KEY `fk_t_profiles_statuses_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_statuses_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_statuses_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_statuses_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=3124 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"statuses\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"aupair_status\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"aupair_step_index\",\"jdbcType\":5,\"typeName\":\"SMALLINT UNSIGNED\",\"typeExpression\":\"SMALLINT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"1\",\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `trip_preferences` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `departure_earliest` int DEFAULT NULL,\\n `departure_latest` int DEFAULT NULL,\\n `stay_12_months` tinyint(1) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_trip_preferences_travellers` (`cid`),\\n KEY `fk_t_profiles_trip_preferences_cb` (`_cb`),\\n KEY `fk_t_profiles_trip_preferences_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_trip_preferences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_trip_preferences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_trip_preferences_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2785 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"trip_preferences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"departure_earliest\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"departure_latest\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"stay_12_months\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26246922,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247143,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247364,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247585,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247806,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26248165,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26249666,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26250108,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26250589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26251721,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252030,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252254,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252478,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252702,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252926,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26253291,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26256418,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26256866,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26257356,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26259575,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26259890,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260120,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260350,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260580,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260810,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26261187,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26265382,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26265842,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26266350,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26269304,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26269604,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26269819,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270034,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270249,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270464,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270811,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26273923,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26274353,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26274816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26276978,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277283,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277503,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277723,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277943,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26278163,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26278520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26280875,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26281315,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26281793,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26283502,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26283805,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284023,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284459,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284677,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26285030,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26286537,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26286973,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26287445,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26288571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26288874,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289092,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289310,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289528,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26290099,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26292456,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26292892,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26293364,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295065,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295376,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295602,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26296054,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26296280,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26296649,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26298498,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26298950,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26299446,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26300821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301587,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301814,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26302041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26302412,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26305129,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26305583,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26306082,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308058,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308359,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308575,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308791,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26309007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26309223,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26309572,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26311315,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26311747,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26312213,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26313500,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26313812,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314039,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314266,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314493,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314720,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26315091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26316632,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26317086,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26317585,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26318755,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319058,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319276,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319494,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319712,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319930,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26320283,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26321738,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26322174,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26322646,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26323746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324048,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324265,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324482,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324916,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26325267,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26326744,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26327178,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26327647,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26328755,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329070,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329300,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329530,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329990,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26330367,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26331596,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26332056,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26332564,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26333531,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26333845,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334074,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334303,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334532,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334761,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26335136,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26338161,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26338619,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26339124,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26341264,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26341572,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26341795,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342018,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342464,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342827,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26345202,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26345648,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26346135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26347815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348117,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348334,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348551,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348768,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348985,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26349336,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26351419,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26351853,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26352322,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26353832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354349,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354565,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354781,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354997,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26355346,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26360325,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26360757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26361223,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26364667,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26364967,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365182,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365397,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365827,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26366174,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26367639,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26368069,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26368532,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26369628,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26369930,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370147,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370364,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370581,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370798,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26371149,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26372658,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26373092,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26373561,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26374685,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26374995,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375220,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375445,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375670,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375895,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26376262,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26378156,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26378606,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26379099,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26380493,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481147,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481372,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481597,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481822,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13482047,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13482414,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13484308,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13484758,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13485251,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13486645,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13486947,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487164,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487381,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487598,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13488166,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13489675,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13490109,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13490578,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13491702,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492002,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492217,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492432,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492647,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13493209,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13494674,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13495104,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13495567,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13496663,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13496964,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497180,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497396,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13498177,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13503156,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13503588,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13504054,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13507498,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13507800,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508017,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508234,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508451,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508668,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13509019,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13511102,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13511536,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13512005,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13513515,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13513823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514046,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514269,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514492,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514715,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13515078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13517453,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13517899,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13518386,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520066,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520380,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520609,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520838,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13521067,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13521296,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13521671,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13524696,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13525154,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13525659,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13527799,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528101,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528318,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528535,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528752,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528969,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13529320,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13530797,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13531231,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13531700,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13532808,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533329,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533547,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533765,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533983,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13534336,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13535791,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13536227,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13536699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13537799,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538338,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538565,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538792,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13539019,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13539390,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13540931,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13541385,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13541884,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543054,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543355,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543787,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13544003,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13544219,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13544568,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13546311,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13546743,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13547209,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13548496,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13548808,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549035,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549262,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549489,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549716,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13550087,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13552804,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13553258,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13553757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13555733,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556044,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556270,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556496,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556722,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556948,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13557317,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13559166,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13559618,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13560114,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13561489,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13561792,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562010,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562228,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562446,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562664,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13563017,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13565374,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13565810,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13566282,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13567983,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568286,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568504,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568722,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568940,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13569158,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13569511,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13571018,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13571454,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13571926,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573052,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573357,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573577,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573797,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13574017,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13574237,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13574594,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13576949,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13577389,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13577867,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13579576,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13579876,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580306,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580521,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580736,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13581083,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13584195,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13584625,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13585088,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13587250,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13587565,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13587795,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588025,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588255,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588485,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13593057,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13593517,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13594025,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13596979,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597288,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597512,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597736,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597960,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13598184,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13598549,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13601676,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13602124,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13602614,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13604833,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605139,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605581,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605802,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13606023,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13606382,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13607883,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13608325,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13608806,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13609938,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610253,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610483,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610713,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610943,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13611173,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13611550,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13612779,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13613239,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13613747,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13614714,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675669,\"file\":\"mysql-bin-changelog.000033\",\"pos\":14524623,\"server_id\":239712215},\"databaseName\":\"\",\"ddl\":\"CREATE TABLE IF NOT EXISTS `a_affiliate`.activity_log (\\n id INTEGER(11) UNSIGNED PRIMARY KEY AUTO_INCREMENT,\\n table_name CHAR(255),\\n field_name CHAR(255),\\n record_id BIGINT(11) UNSIGNED,\\n value TEXT(2048),\\n time INTEGER(11),\\n staff_id INTEGER(11) UNSIGNED,\\n action TINYINT(8) UNSIGNED NOT NULL,\\n CONSTRAINT `fk_a_affiliate_activity_log_staff_id`\\n FOREIGN KEY (staff_id) REFERENCES crm_config.legacy_users(id)\\n )\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675670,\"file\":\"mysql-bin-changelog.000033\",\"pos\":14607140,\"server_id\":239712215},\"databaseName\":\"\",\"ddl\":\"CREATE TABLE IF NOT EXISTS `a_audience`.activity_log (\\n id INTEGER(11) UNSIGNED PRIMARY KEY AUTO_INCREMENT,\\n table_name CHAR(255),\\n field_name CHAR(255),\\n record_id BIGINT(11) UNSIGNED,\\n value TEXT(2048),\\n time INTEGER(11),\\n staff_id INTEGER(11) UNSIGNED,\\n action TINYINT(8) UNSIGNED NOT NULL,\\n CONSTRAINT `fk_a_audience_activity_log_staff_id`\\n FOREIGN KEY (staff_id) REFERENCES crm_config.legacy_users(id)\\n )\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945171,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945396,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945621,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945846,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946071,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946438,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948332,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948782,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15949275,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950669,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950971,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951188,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951405,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951622,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951839,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15952190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15953699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954602,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15955726,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956026,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956456,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956671,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15957233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15958698,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959128,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959591,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960687,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960988,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961204,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961420,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961636,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961852,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15962201,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967180,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15968078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971522,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971824,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972258,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972475,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972692,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15973043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975126,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975560,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15976029,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977539,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977847,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978070,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978293,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978516,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978739,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15979102,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981477,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981923,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15982410,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984090,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984404,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984633,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985320,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985695,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15988720,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989178,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989683,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15991823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992125,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992342,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992559,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992776,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992993,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15993344,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15994821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995255,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995724,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15996832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997353,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997789,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15999815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000251,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000723,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16001823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002362,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003414,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16004955,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005409,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005908,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007379,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007595,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007811,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008027,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008243,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008592,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010335,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010767,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16011233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013059,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013286,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013740,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16014111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16016828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017282,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017781,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16019757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020068,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020294,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020972,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16021341,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023642,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16024138,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026034,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026252,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026470,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026688,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16027041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029398,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029834,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16030306,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032310,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032528,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032964,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033182,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033535,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035042,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035478,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035950,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037076,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037381,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037601,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038261,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038618,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16040973,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041413,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041891,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043600,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043900,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044115,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044330,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044545,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16045107,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048219,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048649,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16049112,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051274,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051819,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052279,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052509,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057081,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057541,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16058049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061003,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061312,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061536,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061984,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062208,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062573,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16065700,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066148,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066638,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16068857,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069163,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069384,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069605,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069826,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070047,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070406,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16071907,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072349,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072830,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16073962,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074277,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074507,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074737,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074967,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075197,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075574,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16076803,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077263,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077771,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16078738,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945171,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945396,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945621,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945846,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946071,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946438,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948332,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948782,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15949275,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950669,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950971,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951188,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951405,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951622,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951839,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15952190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15953699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954602,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15955726,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956026,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956456,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956671,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15957233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15958698,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959128,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959591,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960687,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960988,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961204,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961420,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961636,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961852,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15962201,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967180,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15968078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971522,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971824,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972258,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972475,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972692,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15973043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975126,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975560,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15976029,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977539,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977847,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978070,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978293,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978516,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978739,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15979102,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981477,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981923,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15982410,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984090,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984404,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984633,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985320,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985695,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15988720,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989178,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989683,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15991823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992125,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992342,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992559,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992776,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992993,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15993344,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15994821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995255,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995724,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15996832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997353,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997789,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15999815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000251,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000723,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16001823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002362,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003414,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16004955,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005409,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005908,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007379,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007595,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007811,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008027,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008243,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008592,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010335,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010767,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16011233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013059,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013286,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013740,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16014111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16016828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017282,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017781,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16019757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020068,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020294,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020972,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16021341,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023642,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16024138,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026034,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026252,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026470,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026688,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16027041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029398,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029834,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16030306,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032310,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032528,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032964,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033182,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033535,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035042,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035478,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035950,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037076,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037381,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037601,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038261,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038618,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16040973,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041413,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041891,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043600,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043900,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044115,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044330,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044545,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16045107,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048219,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048649,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16049112,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051274,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051819,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052279,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052509,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057081,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057541,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16058049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061003,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061312,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061536,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061984,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062208,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062573,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16065700,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066148,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066638,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16068857,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069163,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069384,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069605,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069826,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070047,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070406,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16071907,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072349,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072830,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16073962,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074277,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074507,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074737,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074967,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075197,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075574,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16076803,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077263,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077771,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16078738,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n","mysql_cdc_offset":{"{\"schema\":null,\"payload\":[\"t_profiles\",{\"server\":\"t_profiles\"}]}":"{\"transaction_id\":null,\"ts_sec\":1663682030,\"file\":\"mysql-bin-changelog.000033\",\"pos\":17424560,\"row\":1,\"server_id\":239712215,\"event\":4}"}}},"stream_states":[{"stream_descriptor":{"name":"activity_log","namespace":"t_profiles"},"stream_state":{"stream_name":"activity_log","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"certificates","namespace":"t_profiles"},"stream_state":{"stream_name":"certificates","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"characteristics","namespace":"t_profiles"},"stream_state":{"stream_name":"characteristics","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"childcare_experiences","namespace":"t_profiles"},"stream_state":{"stream_name":"childcare_experiences","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"chores","namespace":"t_profiles"},"stream_state":{"stream_name":"chores","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"convictions","namespace":"t_profiles"},"stream_state":{"stream_name":"convictions","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"dietaries","namespace":"t_profiles"},"stream_state":{"stream_name":"dietaries","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"education","namespace":"t_profiles"},"stream_state":{"stream_name":"education","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"employment_duties","namespace":"t_profiles"},"stream_state":{"stream_name":"employment_duties","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"employment_history","namespace":"t_profiles"},"stream_state":{"stream_name":"employment_history","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"healths","namespace":"t_profiles"},"stream_state":{"stream_name":"healths","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"language_interests","namespace":"t_profiles"},"stream_state":{"stream_name":"language_interests","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"languages","namespace":"t_profiles"},"stream_state":{"stream_name":"languages","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"licences","namespace":"t_profiles"},"stream_state":{"stream_name":"licences","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"notification_settings","namespace":"t_profiles"},"stream_state":{"stream_name":"notification_settings","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"position_preferences","namespace":"t_profiles"},"stream_state":{"stream_name":"position_preferences","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"qualifications","namespace":"t_profiles"},"stream_state":{"stream_name":"qualifications","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"requests","namespace":"t_profiles"},"stream_state":{"stream_name":"requests","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"resumes","namespace":"t_profiles"},"stream_state":{"stream_name":"resumes","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"skills","namespace":"t_profiles"},"stream_state":{"stream_name":"skills","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"statuses","namespace":"t_profiles"},"stream_state":{"stream_name":"statuses","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"trip_preferences","namespace":"t_profiles"},"stream_state":{"stream_name":"trip_preferences","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"v_profile_summary","namespace":"t_profiles"},"stream_state":{"stream_name":"v_profile_summary","stream_namespace":"t_profiles","cursor_field":[]}}]},"data":{"cdc":true,"cdc_state":{"state":{"mysql_db_history":"{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955574,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"\",\"ddl\":\"SET character_set_server=utf8mb4, collation_server=utf8mb4_0900_ai_ci\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`activity_log`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`certificates`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`characteristics`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`childcare_experiences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`chores`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`convictions`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`dietaries`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`education`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`employment_duties`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`employment_history`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`healths`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`language_interests`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`languages`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`licences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`notification_settings`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`position_preferences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`qualifications`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`requests`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`resumes`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`skills`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`statuses`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`trip_preferences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP DATABASE IF EXISTS `t_profiles`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DATABASE `t_profiles` CHARSET latin1 COLLATE latin1_swedish_ci\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"USE `t_profiles`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `activity_log` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `table_name` char(255) DEFAULT NULL,\\n `field_name` char(255) DEFAULT NULL,\\n `record_id` bigint unsigned DEFAULT NULL,\\n `value` text,\\n `time` int DEFAULT NULL,\\n `staff_id` int unsigned DEFAULT NULL,\\n `action` tinyint unsigned NOT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_activity_log_staff_id` (`staff_id`),\\n CONSTRAINT `fk_t_profiles_activity_log_staff_id` FOREIGN KEY (`staff_id`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=1006104 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"activity_log\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"table_name\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":255,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"field_name\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":255,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"record_id\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"value\",\"jdbcType\":12,\"typeName\":\"TEXT\",\"typeExpression\":\"TEXT\",\"charsetName\":\"latin1\",\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"time\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"staff_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"action\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `certificates` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_certificates_cb` (`_cb`),\\n KEY `fk_t_profiles_certificates_lmb` (`_lmb`),\\n KEY `fk_certificates_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_certificates_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_certificates_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_certificates_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=58532 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"certificates\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `characteristics` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `description` varchar(500) DEFAULT NULL,\\n `interests` varchar(500) DEFAULT NULL,\\n `positive_traits` varchar(500) DEFAULT NULL,\\n `religion` varchar(100) DEFAULT NULL,\\n `smoking_habit` varchar(100) DEFAULT NULL,\\n `lived_from_home` tinyint(1) DEFAULT NULL,\\n `lived_from_home_details` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_character_travellers` (`cid`),\\n KEY `fk_t_profiles_characteristics_cb` (`_cb`),\\n KEY `fk_t_profiles_characteristics_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_character_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_characteristics_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_characteristics_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2811 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"characteristics\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"interests\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"positive_traits\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"religion\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"smoking_habit\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"lived_from_home\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"lived_from_home_details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `childcare_experiences` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `age_infants` varchar(100) DEFAULT NULL,\\n `age_1_5` varchar(100) DEFAULT NULL,\\n `age_5_10` varchar(100) DEFAULT NULL,\\n `age_10_over` varchar(100) DEFAULT NULL,\\n `ideal_job` varchar(500) DEFAULT NULL,\\n `motivation` varchar(500) DEFAULT NULL,\\n `childcare_negatives` varchar(500) DEFAULT NULL,\\n `childcare_positives` varchar(500) DEFAULT NULL,\\n `discipline_with_children` varchar(500) DEFAULT NULL,\\n `activities_with_children` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_childcare_travellers` (`cid`),\\n KEY `fk_t_profiles_childcare_experiences_cb` (`_cb`),\\n KEY `fk_t_profiles_childcare_experiences_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_childcare_experiences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_childcare_experiences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_childcare_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2822 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"childcare_experiences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"age_infants\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"age_1_5\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"age_5_10\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"age_10_over\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"ideal_job\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"motivation\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"childcare_negatives\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"childcare_positives\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"discipline_with_children\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"activities_with_children\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":14,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":15,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":16,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `chores` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `child_meals` tinyint(1) DEFAULT NULL,\\n `light_housework` tinyint(1) DEFAULT NULL,\\n `general_housework` varchar(100) DEFAULT NULL,\\n `housework_unwilling` tinyint(1) DEFAULT NULL,\\n `housework_unwilling_details` varchar(500) DEFAULT NULL,\\n `meal_prep` varchar(100) DEFAULT NULL,\\n `accustomed_chores` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_chores_travellers` (`cid`),\\n KEY `fk_t_profiles_chores_cb` (`_cb`),\\n KEY `fk_t_profiles_chores_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_chores_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_chores_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_chores_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2824 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"chores\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"child_meals\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"light_housework\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"general_housework\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"housework_unwilling\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"housework_unwilling_details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"meal_prep\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"accustomed_chores\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `convictions` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `type` varchar(32) DEFAULT NULL,\\n `description` varchar(1024) DEFAULT NULL,\\n `date_occurred` int DEFAULT NULL,\\n `bac` decimal(6,3) DEFAULT NULL,\\n `user_answer` tinyint unsigned NOT NULL DEFAULT '0',\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_convictions_travellers` (`cid`),\\n KEY `fk_t_profiles_convictions_cb` (`_cb`),\\n KEY `fk_t_profiles_convictions_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_convictions_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_convictions_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_convictions_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"convictions\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":32,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1024,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_occurred\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"bac\",\"jdbcType\":3,\"typeName\":\"DECIMAL\",\"typeExpression\":\"DECIMAL\",\"charsetName\":null,\"length\":6,\"scale\":3,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"user_answer\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"0\",\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `dietaries` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `has_requirements` tinyint(1) DEFAULT NULL,\\n `requirements` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_dietary_travellers` (`cid`),\\n KEY `fk_t_profiles_dietaries_cb` (`_cb`),\\n KEY `fk_t_profiles_dietaries_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_dietaries_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_dietaries_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_dietary_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2378 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"dietaries\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"has_requirements\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"requirements\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `education` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `title` varchar(100) DEFAULT NULL,\\n `institution` varchar(100) DEFAULT NULL,\\n `date_from` varchar(30) DEFAULT NULL,\\n `date_to` varchar(30) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_education_cb` (`_cb`),\\n KEY `fk_t_profiles_education_lmb` (`_lmb`),\\n KEY `fk_education_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_education_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_education_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_education_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=37762 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"education\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"title\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"institution\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_from\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_to\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `employment_duties` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `employment_id` int unsigned NOT NULL,\\n `details` varchar(200) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_employment_duties_cb` (`_cb`),\\n KEY `fk_t_profiles_employment_duties_lmb` (`_lmb`),\\n KEY `fk_employment_duties_employment_history_idx` (`employment_id`),\\n KEY `fk_employment_duties_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_employment_duties_employment_history` FOREIGN KEY (`employment_id`) REFERENCES `employment_history` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_employment_duties_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_duties_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_duties_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=438848 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"employment_duties\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"employment_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":200,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `employment_history` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `title` varchar(100) DEFAULT NULL,\\n `company` varchar(100) DEFAULT NULL,\\n `website` varchar(100) DEFAULT NULL,\\n `date_from` varchar(30) DEFAULT NULL,\\n `date_to` varchar(30) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_employment_history_cb` (`_cb`),\\n KEY `fk_t_profiles_employment_history_lmb` (`_lmb`),\\n KEY `fk_employment_history_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_employment_history_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_history_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_history_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=83190 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"employment_history\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"title\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"company\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"website\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_from\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_to\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `healths` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `type` varchar(32) DEFAULT NULL,\\n `description` varchar(1024) DEFAULT NULL,\\n `user_answer` tinyint unsigned NOT NULL DEFAULT '0',\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_health_travellers` (`cid`),\\n KEY `fk_t_profiles_healths_cb` (`_cb`),\\n KEY `fk_t_profiles_healths_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_health_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_healths_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_healths_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"healths\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":32,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1024,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"user_answer\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":5,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"0\",\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `language_interests` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `has_other` tinyint(1) DEFAULT NULL,\\n `other_interest` tinyint(1) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_language_interest_travellers` (`cid`),\\n KEY `fk_t_profiles_language_interests_cb` (`_cb`),\\n KEY `fk_t_profiles_language_interests_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_language_interest_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_language_interests_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_language_interests_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2745 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"language_interests\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"has_other\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"other_interest\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `languages` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `language` varchar(100) DEFAULT NULL,\\n `fluency` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_languages_travellers` (`cid`),\\n KEY `fk_t_profiles_languages_cb` (`_cb`),\\n KEY `fk_t_profiles_languages_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_languages_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_languages_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_languages_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=4600 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"languages\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"language\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"fluency\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `licences` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_licences_cb` (`_cb`),\\n KEY `fk_t_profiles_licences_lmb` (`_lmb`),\\n KEY `fk_licences_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_licences_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_licences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_licences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=30608 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"licences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `notification_settings` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `settings` json DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n UNIQUE KEY `cid` (`cid`),\\n KEY `fk_t_profiles_notification_settings_cb` (`_cb`),\\n KEY `fk_t_profiles_notification_settings_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_notification_settings_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`),\\n CONSTRAINT `fk_t_profiles_notification_settings_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`)\\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"notification_settings\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"settings\",\"jdbcType\":1111,\"typeName\":\"JSON\",\"typeExpression\":\"JSON\",\"charsetName\":null,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `position_preferences` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `family_with_2c_up` tinyint(1) DEFAULT NULL,\\n `family_with_single_parent` tinyint(1) DEFAULT NULL,\\n `family_with_pets` tinyint(1) DEFAULT NULL,\\n `family_with_special_needs` tinyint(1) DEFAULT NULL,\\n `family_with_sole_in_charge` tinyint(1) DEFAULT NULL,\\n `work_weekends` varchar(50) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_position_preferences_travellers` (`cid`),\\n KEY `fk_t_profiles_position_preferences_cb` (`_cb`),\\n KEY `fk_t_profiles_position_preferences_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_position_preferences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_position_preferences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_position_preferences_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2819 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"position_preferences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"family_with_2c_up\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_single_parent\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_pets\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_special_needs\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_sole_in_charge\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"work_weekends\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":50,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `qualifications` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `international_drivers_license` varchar(100) DEFAULT NULL,\\n `international_drivers_license_type` varchar(32) DEFAULT NULL,\\n `international_drivers_license_date` int DEFAULT NULL,\\n `first_aid` tinyint(1) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_qualifications_travellers` (`cid`),\\n KEY `fk_t_profiles_qualifications_cb` (`_cb`),\\n KEY `fk_t_profiles_qualifications_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_qualifications_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_qualifications_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_qualifications_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2795 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"qualifications\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"international_drivers_license\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"international_drivers_license_type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":32,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"international_drivers_license_date\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"first_aid\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `requests` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `resume_id` int unsigned NOT NULL,\\n `type` varchar(30) NOT NULL,\\n `description` varchar(1000) NOT NULL,\\n `requested_by` varchar(30) NOT NULL,\\n `requested_at` int NOT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_requests_cb` (`_cb`),\\n KEY `fk_t_profiles_requests_lmb` (`_lmb`),\\n KEY `fk_requests_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_requests_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_requests_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_requests_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=4683 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"requests\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1000,\"position\":4,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"requested_by\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":5,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"requested_at\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `resumes` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `status` varchar(100) DEFAULT NULL,\\n `step_index` smallint unsigned NOT NULL DEFAULT '1',\\n `s3_resume_pic` varchar(512) DEFAULT NULL,\\n `date_created` varchar(30) NOT NULL,\\n `date_modified` varchar(30) NOT NULL,\\n `first_name` varchar(100) DEFAULT NULL,\\n `middle_name` varchar(100) DEFAULT NULL,\\n `last_name` varchar(100) DEFAULT NULL,\\n `email` varchar(100) DEFAULT NULL,\\n `phone_code` char(16) DEFAULT NULL,\\n `phone` varchar(100) DEFAULT NULL,\\n `skype` varchar(100) DEFAULT NULL,\\n `introduction` varchar(1000) DEFAULT NULL,\\n `objectives` varchar(1000) DEFAULT NULL,\\n `cid` bigint unsigned NOT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_resumes_cb` (`_cb`),\\n KEY `fk_t_profiles_resumes_lmb` (`_lmb`),\\n KEY `fk_resumes_travellers_idx` (`cid`),\\n CONSTRAINT `fk_resumes_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_resumes_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_resumes_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=30617 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"resumes\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"status\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"step_index\",\"jdbcType\":5,\"typeName\":\"SMALLINT UNSIGNED\",\"typeExpression\":\"SMALLINT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"1\",\"enumValues\":[]},{\"name\":\"s3_resume_pic\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":512,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_created\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":5,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"date_modified\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":6,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"first_name\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"middle_name\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"last_name\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"email\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"phone_code\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":16,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"phone\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"skype\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"introduction\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1000,\"position\":14,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"objectives\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1000,\"position\":15,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":16,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":17,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":18,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":19,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":20,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `skills` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_skills_cb` (`_cb`),\\n KEY `fk_t_profiles_skills_lmb` (`_lmb`),\\n KEY `fk_skills_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_skills_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_skills_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_skills_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=122837 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"skills\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `statuses` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `aupair_status` varchar(100) DEFAULT NULL,\\n `aupair_step_index` smallint unsigned NOT NULL DEFAULT '1',\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_statuses_travellers` (`cid`),\\n KEY `idx_t_profiles_qualifications_travellers` (`cid`),\\n KEY `fk_t_profiles_statuses_cb` (`_cb`),\\n KEY `fk_t_profiles_statuses_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_statuses_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_statuses_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_statuses_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=3124 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"statuses\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"aupair_status\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"aupair_step_index\",\"jdbcType\":5,\"typeName\":\"SMALLINT UNSIGNED\",\"typeExpression\":\"SMALLINT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"1\",\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `trip_preferences` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `departure_earliest` int DEFAULT NULL,\\n `departure_latest` int DEFAULT NULL,\\n `stay_12_months` tinyint(1) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_trip_preferences_travellers` (`cid`),\\n KEY `fk_t_profiles_trip_preferences_cb` (`_cb`),\\n KEY `fk_t_profiles_trip_preferences_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_trip_preferences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_trip_preferences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_trip_preferences_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2785 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"trip_preferences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"departure_earliest\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"departure_latest\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"stay_12_months\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26246922,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247143,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247364,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247585,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247806,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26248165,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26249666,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26250108,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26250589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26251721,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252030,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252254,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252478,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252702,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252926,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26253291,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26256418,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26256866,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26257356,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26259575,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26259890,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260120,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260350,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260580,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260810,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26261187,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26265382,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26265842,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26266350,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26269304,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26269604,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26269819,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270034,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270249,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270464,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270811,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26273923,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26274353,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26274816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26276978,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277283,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277503,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277723,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277943,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26278163,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26278520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26280875,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26281315,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26281793,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26283502,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26283805,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284023,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284459,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284677,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26285030,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26286537,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26286973,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26287445,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26288571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26288874,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289092,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289310,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289528,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26290099,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26292456,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26292892,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26293364,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295065,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295376,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295602,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26296054,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26296280,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26296649,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26298498,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26298950,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26299446,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26300821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301587,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301814,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26302041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26302412,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26305129,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26305583,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26306082,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308058,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308359,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308575,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308791,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26309007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26309223,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26309572,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26311315,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26311747,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26312213,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26313500,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26313812,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314039,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314266,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314493,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314720,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26315091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26316632,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26317086,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26317585,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26318755,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319058,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319276,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319494,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319712,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319930,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26320283,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26321738,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26322174,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26322646,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26323746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324048,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324265,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324482,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324916,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26325267,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26326744,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26327178,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26327647,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26328755,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329070,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329300,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329530,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329990,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26330367,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26331596,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26332056,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26332564,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26333531,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26333845,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334074,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334303,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334532,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334761,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26335136,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26338161,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26338619,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26339124,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26341264,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26341572,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26341795,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342018,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342464,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342827,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26345202,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26345648,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26346135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26347815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348117,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348334,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348551,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348768,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348985,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26349336,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26351419,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26351853,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26352322,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26353832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354349,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354565,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354781,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354997,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26355346,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26360325,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26360757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26361223,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26364667,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26364967,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365182,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365397,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365827,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26366174,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26367639,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26368069,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26368532,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26369628,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26369930,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370147,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370364,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370581,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370798,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26371149,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26372658,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26373092,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26373561,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26374685,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26374995,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375220,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375445,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375670,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375895,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26376262,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26378156,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26378606,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26379099,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26380493,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481147,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481372,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481597,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481822,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13482047,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13482414,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13484308,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13484758,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13485251,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13486645,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13486947,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487164,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487381,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487598,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13488166,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13489675,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13490109,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13490578,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13491702,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492002,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492217,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492432,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492647,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13493209,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13494674,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13495104,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13495567,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13496663,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13496964,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497180,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497396,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13498177,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13503156,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13503588,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13504054,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13507498,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13507800,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508017,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508234,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508451,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508668,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13509019,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13511102,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13511536,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13512005,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13513515,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13513823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514046,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514269,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514492,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514715,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13515078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13517453,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13517899,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13518386,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520066,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520380,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520609,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520838,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13521067,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13521296,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13521671,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13524696,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13525154,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13525659,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13527799,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528101,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528318,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528535,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528752,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528969,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13529320,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13530797,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13531231,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13531700,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13532808,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533329,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533547,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533765,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533983,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13534336,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13535791,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13536227,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13536699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13537799,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538338,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538565,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538792,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13539019,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13539390,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13540931,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13541385,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13541884,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543054,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543355,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543787,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13544003,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13544219,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13544568,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13546311,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13546743,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13547209,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13548496,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13548808,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549035,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549262,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549489,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549716,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13550087,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13552804,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13553258,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13553757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13555733,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556044,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556270,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556496,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556722,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556948,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13557317,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13559166,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13559618,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13560114,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13561489,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13561792,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562010,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562228,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562446,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562664,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13563017,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13565374,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13565810,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13566282,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13567983,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568286,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568504,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568722,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568940,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13569158,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13569511,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13571018,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13571454,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13571926,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573052,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573357,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573577,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573797,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13574017,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13574237,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13574594,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13576949,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13577389,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13577867,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13579576,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13579876,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580306,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580521,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580736,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13581083,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13584195,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13584625,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13585088,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13587250,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13587565,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13587795,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588025,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588255,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588485,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13593057,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13593517,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13594025,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13596979,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597288,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597512,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597736,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597960,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13598184,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13598549,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13601676,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13602124,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13602614,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13604833,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605139,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605581,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605802,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13606023,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13606382,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13607883,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13608325,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13608806,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13609938,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610253,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610483,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610713,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610943,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13611173,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13611550,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13612779,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13613239,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13613747,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13614714,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675669,\"file\":\"mysql-bin-changelog.000033\",\"pos\":14524623,\"server_id\":239712215},\"databaseName\":\"\",\"ddl\":\"CREATE TABLE IF NOT EXISTS `a_affiliate`.activity_log (\\n id INTEGER(11) UNSIGNED PRIMARY KEY AUTO_INCREMENT,\\n table_name CHAR(255),\\n field_name CHAR(255),\\n record_id BIGINT(11) UNSIGNED,\\n value TEXT(2048),\\n time INTEGER(11),\\n staff_id INTEGER(11) UNSIGNED,\\n action TINYINT(8) UNSIGNED NOT NULL,\\n CONSTRAINT `fk_a_affiliate_activity_log_staff_id`\\n FOREIGN KEY (staff_id) REFERENCES crm_config.legacy_users(id)\\n )\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675670,\"file\":\"mysql-bin-changelog.000033\",\"pos\":14607140,\"server_id\":239712215},\"databaseName\":\"\",\"ddl\":\"CREATE TABLE IF NOT EXISTS `a_audience`.activity_log (\\n id INTEGER(11) UNSIGNED PRIMARY KEY AUTO_INCREMENT,\\n table_name CHAR(255),\\n field_name CHAR(255),\\n record_id BIGINT(11) UNSIGNED,\\n value TEXT(2048),\\n time INTEGER(11),\\n staff_id INTEGER(11) UNSIGNED,\\n action TINYINT(8) UNSIGNED NOT NULL,\\n CONSTRAINT `fk_a_audience_activity_log_staff_id`\\n FOREIGN KEY (staff_id) REFERENCES crm_config.legacy_users(id)\\n )\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945171,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945396,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945621,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945846,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946071,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946438,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948332,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948782,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15949275,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950669,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950971,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951188,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951405,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951622,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951839,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15952190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15953699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954602,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15955726,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956026,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956456,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956671,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15957233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15958698,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959128,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959591,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960687,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960988,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961204,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961420,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961636,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961852,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15962201,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967180,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15968078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971522,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971824,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972258,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972475,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972692,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15973043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975126,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975560,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15976029,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977539,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977847,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978070,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978293,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978516,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978739,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15979102,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981477,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981923,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15982410,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984090,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984404,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984633,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985320,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985695,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15988720,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989178,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989683,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15991823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992125,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992342,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992559,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992776,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992993,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15993344,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15994821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995255,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995724,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15996832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997353,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997789,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15999815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000251,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000723,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16001823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002362,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003414,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16004955,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005409,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005908,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007379,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007595,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007811,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008027,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008243,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008592,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010335,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010767,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16011233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013059,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013286,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013740,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16014111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16016828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017282,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017781,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16019757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020068,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020294,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020972,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16021341,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023642,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16024138,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026034,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026252,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026470,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026688,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16027041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029398,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029834,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16030306,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032310,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032528,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032964,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033182,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033535,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035042,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035478,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035950,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037076,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037381,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037601,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038261,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038618,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16040973,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041413,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041891,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043600,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043900,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044115,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044330,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044545,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16045107,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048219,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048649,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16049112,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051274,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051819,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052279,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052509,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057081,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057541,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16058049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061003,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061312,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061536,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061984,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062208,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062573,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16065700,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066148,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066638,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16068857,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069163,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069384,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069605,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069826,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070047,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070406,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16071907,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072349,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072830,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16073962,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074277,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074507,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074737,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074967,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075197,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075574,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16076803,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077263,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077771,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16078738,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945171,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945396,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945621,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945846,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946071,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946438,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948332,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948782,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15949275,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950669,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950971,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951188,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951405,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951622,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951839,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15952190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15953699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954602,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15955726,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956026,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956456,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956671,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15957233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15958698,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959128,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959591,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960687,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960988,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961204,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961420,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961636,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961852,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15962201,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967180,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15968078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971522,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971824,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972258,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972475,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972692,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15973043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975126,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975560,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15976029,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977539,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977847,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978070,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978293,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978516,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978739,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15979102,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981477,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981923,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15982410,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984090,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984404,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984633,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985320,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985695,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15988720,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989178,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989683,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15991823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992125,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992342,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992559,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992776,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992993,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15993344,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15994821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995255,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995724,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15996832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997353,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997789,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15999815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000251,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000723,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16001823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002362,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003414,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16004955,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005409,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005908,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007379,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007595,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007811,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008027,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008243,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008592,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010335,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010767,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16011233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013059,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013286,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013740,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16014111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16016828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017282,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017781,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16019757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020068,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020294,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020972,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16021341,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023642,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16024138,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026034,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026252,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026470,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026688,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16027041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029398,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029834,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16030306,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032310,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032528,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032964,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033182,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033535,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035042,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035478,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035950,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037076,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037381,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037601,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038261,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038618,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16040973,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041413,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041891,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043600,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043900,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044115,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044330,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044545,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16045107,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048219,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048649,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16049112,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051274,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051819,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052279,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052509,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057081,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057541,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16058049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061003,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061312,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061536,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061984,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062208,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062573,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16065700,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066148,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066638,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16068857,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069163,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069384,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069605,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069826,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070047,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070406,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16071907,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072349,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072830,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16073962,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074277,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074507,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074737,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074967,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075197,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075574,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16076803,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077263,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077771,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16078738,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n","mysql_cdc_offset":{"{\"schema\":null,\"payload\":[\"t_profiles\",{\"server\":\"t_profiles\"}]}":"{\"transaction_id\":null,\"ts_sec\":1663682030,\"file\":\"mysql-bin-changelog.000033\",\"pos\":17424560,\"row\":1,\"server_id\":239712215,\"event\":4}"}}},"streams":[{"stream_name":"activity_log","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"certificates","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"characteristics","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"childcare_experiences","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"chores","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"convictions","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"dietaries","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"education","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"employment_duties","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"employment_history","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"healths","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"language_interests","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"languages","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"licences","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"notification_settings","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"position_preferences","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"qualifications","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"requests","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"resumes","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"skills","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"statuses","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"trip_preferences","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"v_profile_summary","stream_namespace":"t_profiles","cursor_field":[]}]}}]]] 2022-09-20 14:07:49 INFO i.a.w.g.DefaultReplicationWorker(run):300 - sync summary: { "status" : "completed", "recordsSynced" : 78085, "bytesSynced" : 9712636, "startTime" : 1663682665269, "endTime" : 1663682869055, "totalStats" : { "recordsEmitted" : 78085, "bytesEmitted" : 9712636, "sourceStateMessagesEmitted" : 1, "destinationStateMessagesEmitted" : 1, "recordsCommitted" : 78085, "meanSecondsBeforeSourceStateMessageEmitted" : 60, "maxSecondsBeforeSourceStateMessageEmitted" : 60, "maxSecondsBetweenStateMessageEmittedandCommitted" : 137, "meanSecondsBetweenStateMessageEmittedandCommitted" : 137 }, "streamStats" : [ { "streamName" : "skills", "stats" : { "recordsEmitted" : 5, "bytesEmitted" : 1338, "recordsCommitted" : 5 } }, { "streamName" : "v_profile_summary", "stats" : { "recordsEmitted" : 78059, "bytesEmitted" : 9704256, "recordsCommitted" : 78059 } }, { "streamName" : "certificates", "stats" : { "recordsEmitted" : 2, "bytesEmitted" : 541, "recordsCommitted" : 2 } }, { "streamName" : "resumes", "stats" : { "recordsEmitted" : 3, "bytesEmitted" : 2032, "recordsCommitted" : 3 } }, { "streamName" : "activity_log", "stats" : { "recordsEmitted" : 16, "bytesEmitted" : 4469, "recordsCommitted" : 16 } } ] } 2022-09-20 14:07:49 INFO i.a.w.g.DefaultReplicationWorker(run):301 - failures: [ ] 2022-09-20 14:07:49 INFO i.a.c.i.LineGobbler(voidCall):114 - 2022-09-20 14:07:49 INFO i.a.w.t.TemporalAttemptExecution(get):132 - Stopping cancellation check scheduling... 2022-09-20 14:07:49 INFO i.a.c.i.LineGobbler(voidCall):114 - ----- END REPLICATION ----- 2022-09-20 14:07:49 INFO i.a.c.i.LineGobbler(voidCall):114 - 2022-09-20 14:07:49 INFO i.a.w.t.s.ReplicationActivityImpl(lambda$replicate$3):149 - sync summary: io.airbyte.config.StandardSyncOutput@4d8e9096[standardSyncSummary=io.airbyte.config.StandardSyncSummary@12cf90fa[status=completed,recordsSynced=78085,bytesSynced=9712636,startTime=1663682665269,endTime=1663682869055,totalStats=io.airbyte.config.SyncStats@d38bf83[recordsEmitted=78085,bytesEmitted=9712636,sourceStateMessagesEmitted=1,destinationStateMessagesEmitted=1,recordsCommitted=78085,meanSecondsBeforeSourceStateMessageEmitted=60,maxSecondsBeforeSourceStateMessageEmitted=60,maxSecondsBetweenStateMessageEmittedandCommitted=137,meanSecondsBetweenStateMessageEmittedandCommitted=137,additionalProperties={}],streamStats=[io.airbyte.config.StreamSyncStats@66a9cf8c[streamName=skills,stats=io.airbyte.config.SyncStats@5f9af9ef[recordsEmitted=5,bytesEmitted=1338,sourceStateMessagesEmitted=,destinationStateMessagesEmitted=,recordsCommitted=5,meanSecondsBeforeSourceStateMessageEmitted=,maxSecondsBeforeSourceStateMessageEmitted=,maxSecondsBetweenStateMessageEmittedandCommitted=,meanSecondsBetweenStateMessageEmittedandCommitted=,additionalProperties={}]], io.airbyte.config.StreamSyncStats@31bceaa6[streamName=v_profile_summary,stats=io.airbyte.config.SyncStats@79309fb5[recordsEmitted=78059,bytesEmitted=9704256,sourceStateMessagesEmitted=,destinationStateMessagesEmitted=,recordsCommitted=78059,meanSecondsBeforeSourceStateMessageEmitted=,maxSecondsBeforeSourceStateMessageEmitted=,maxSecondsBetweenStateMessageEmittedandCommitted=,meanSecondsBetweenStateMessageEmittedandCommitted=,additionalProperties={}]], io.airbyte.config.StreamSyncStats@514dfab0[streamName=certificates,stats=io.airbyte.config.SyncStats@591024f7[recordsEmitted=2,bytesEmitted=541,sourceStateMessagesEmitted=,destinationStateMessagesEmitted=,recordsCommitted=2,meanSecondsBeforeSourceStateMessageEmitted=,maxSecondsBeforeSourceStateMessageEmitted=,maxSecondsBetweenStateMessageEmittedandCommitted=,meanSecondsBetweenStateMessageEmittedandCommitted=,additionalProperties={}]], io.airbyte.config.StreamSyncStats@faf1ca9[streamName=resumes,stats=io.airbyte.config.SyncStats@721fe7de[recordsEmitted=3,bytesEmitted=2032,sourceStateMessagesEmitted=,destinationStateMessagesEmitted=,recordsCommitted=3,meanSecondsBeforeSourceStateMessageEmitted=,maxSecondsBeforeSourceStateMessageEmitted=,maxSecondsBetweenStateMessageEmittedandCommitted=,meanSecondsBetweenStateMessageEmittedandCommitted=,additionalProperties={}]], io.airbyte.config.StreamSyncStats@4cb90b57[streamName=activity_log,stats=io.airbyte.config.SyncStats@1456a9ab[recordsEmitted=16,bytesEmitted=4469,sourceStateMessagesEmitted=,destinationStateMessagesEmitted=,recordsCommitted=16,meanSecondsBeforeSourceStateMessageEmitted=,maxSecondsBeforeSourceStateMessageEmitted=,maxSecondsBetweenStateMessageEmittedandCommitted=,meanSecondsBetweenStateMessageEmittedandCommitted=,additionalProperties={}]]]],normalizationSummary=,state=io.airbyte.config.State@645fa63b[state=[{"type":"GLOBAL","global":{"shared_state":{"state":{"mysql_db_history":"{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955574,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"\",\"ddl\":\"SET character_set_server=utf8mb4, collation_server=utf8mb4_0900_ai_ci\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`activity_log`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`certificates`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`characteristics`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`childcare_experiences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`chores`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`convictions`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`dietaries`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`education`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`employment_duties`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`employment_history`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`healths`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`language_interests`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`languages`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`licences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`notification_settings`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`position_preferences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`qualifications`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`requests`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`resumes`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`skills`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`statuses`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`trip_preferences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP DATABASE IF EXISTS `t_profiles`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DATABASE `t_profiles` CHARSET latin1 COLLATE latin1_swedish_ci\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"USE `t_profiles`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `activity_log` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `table_name` char(255) DEFAULT NULL,\\n `field_name` char(255) DEFAULT NULL,\\n `record_id` bigint unsigned DEFAULT NULL,\\n `value` text,\\n `time` int DEFAULT NULL,\\n `staff_id` int unsigned DEFAULT NULL,\\n `action` tinyint unsigned NOT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_activity_log_staff_id` (`staff_id`),\\n CONSTRAINT `fk_t_profiles_activity_log_staff_id` FOREIGN KEY (`staff_id`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=1006104 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"activity_log\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"table_name\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":255,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"field_name\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":255,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"record_id\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"value\",\"jdbcType\":12,\"typeName\":\"TEXT\",\"typeExpression\":\"TEXT\",\"charsetName\":\"latin1\",\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"time\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"staff_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"action\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `certificates` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_certificates_cb` (`_cb`),\\n KEY `fk_t_profiles_certificates_lmb` (`_lmb`),\\n KEY `fk_certificates_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_certificates_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_certificates_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_certificates_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=58532 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"certificates\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `characteristics` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `description` varchar(500) DEFAULT NULL,\\n `interests` varchar(500) DEFAULT NULL,\\n `positive_traits` varchar(500) DEFAULT NULL,\\n `religion` varchar(100) DEFAULT NULL,\\n `smoking_habit` varchar(100) DEFAULT NULL,\\n `lived_from_home` tinyint(1) DEFAULT NULL,\\n `lived_from_home_details` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_character_travellers` (`cid`),\\n KEY `fk_t_profiles_characteristics_cb` (`_cb`),\\n KEY `fk_t_profiles_characteristics_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_character_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_characteristics_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_characteristics_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2811 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"characteristics\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"interests\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"positive_traits\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"religion\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"smoking_habit\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"lived_from_home\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"lived_from_home_details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `childcare_experiences` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `age_infants` varchar(100) DEFAULT NULL,\\n `age_1_5` varchar(100) DEFAULT NULL,\\n `age_5_10` varchar(100) DEFAULT NULL,\\n `age_10_over` varchar(100) DEFAULT NULL,\\n `ideal_job` varchar(500) DEFAULT NULL,\\n `motivation` varchar(500) DEFAULT NULL,\\n `childcare_negatives` varchar(500) DEFAULT NULL,\\n `childcare_positives` varchar(500) DEFAULT NULL,\\n `discipline_with_children` varchar(500) DEFAULT NULL,\\n `activities_with_children` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_childcare_travellers` (`cid`),\\n KEY `fk_t_profiles_childcare_experiences_cb` (`_cb`),\\n KEY `fk_t_profiles_childcare_experiences_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_childcare_experiences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_childcare_experiences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_childcare_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2822 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"childcare_experiences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"age_infants\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"age_1_5\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"age_5_10\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"age_10_over\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"ideal_job\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"motivation\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"childcare_negatives\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"childcare_positives\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"discipline_with_children\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"activities_with_children\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":14,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":15,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":16,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `chores` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `child_meals` tinyint(1) DEFAULT NULL,\\n `light_housework` tinyint(1) DEFAULT NULL,\\n `general_housework` varchar(100) DEFAULT NULL,\\n `housework_unwilling` tinyint(1) DEFAULT NULL,\\n `housework_unwilling_details` varchar(500) DEFAULT NULL,\\n `meal_prep` varchar(100) DEFAULT NULL,\\n `accustomed_chores` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_chores_travellers` (`cid`),\\n KEY `fk_t_profiles_chores_cb` (`_cb`),\\n KEY `fk_t_profiles_chores_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_chores_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_chores_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_chores_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2824 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"chores\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"child_meals\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"light_housework\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"general_housework\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"housework_unwilling\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"housework_unwilling_details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"meal_prep\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"accustomed_chores\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `convictions` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `type` varchar(32) DEFAULT NULL,\\n `description` varchar(1024) DEFAULT NULL,\\n `date_occurred` int DEFAULT NULL,\\n `bac` decimal(6,3) DEFAULT NULL,\\n `user_answer` tinyint unsigned NOT NULL DEFAULT '0',\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_convictions_travellers` (`cid`),\\n KEY `fk_t_profiles_convictions_cb` (`_cb`),\\n KEY `fk_t_profiles_convictions_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_convictions_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_convictions_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_convictions_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"convictions\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":32,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1024,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_occurred\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"bac\",\"jdbcType\":3,\"typeName\":\"DECIMAL\",\"typeExpression\":\"DECIMAL\",\"charsetName\":null,\"length\":6,\"scale\":3,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"user_answer\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"0\",\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `dietaries` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `has_requirements` tinyint(1) DEFAULT NULL,\\n `requirements` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_dietary_travellers` (`cid`),\\n KEY `fk_t_profiles_dietaries_cb` (`_cb`),\\n KEY `fk_t_profiles_dietaries_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_dietaries_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_dietaries_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_dietary_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2378 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"dietaries\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"has_requirements\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"requirements\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `education` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `title` varchar(100) DEFAULT NULL,\\n `institution` varchar(100) DEFAULT NULL,\\n `date_from` varchar(30) DEFAULT NULL,\\n `date_to` varchar(30) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_education_cb` (`_cb`),\\n KEY `fk_t_profiles_education_lmb` (`_lmb`),\\n KEY `fk_education_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_education_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_education_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_education_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=37762 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"education\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"title\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"institution\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_from\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_to\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `employment_duties` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `employment_id` int unsigned NOT NULL,\\n `details` varchar(200) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_employment_duties_cb` (`_cb`),\\n KEY `fk_t_profiles_employment_duties_lmb` (`_lmb`),\\n KEY `fk_employment_duties_employment_history_idx` (`employment_id`),\\n KEY `fk_employment_duties_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_employment_duties_employment_history` FOREIGN KEY (`employment_id`) REFERENCES `employment_history` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_employment_duties_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_duties_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_duties_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=438848 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"employment_duties\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"employment_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":200,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `employment_history` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `title` varchar(100) DEFAULT NULL,\\n `company` varchar(100) DEFAULT NULL,\\n `website` varchar(100) DEFAULT NULL,\\n `date_from` varchar(30) DEFAULT NULL,\\n `date_to` varchar(30) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_employment_history_cb` (`_cb`),\\n KEY `fk_t_profiles_employment_history_lmb` (`_lmb`),\\n KEY `fk_employment_history_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_employment_history_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_history_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_history_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=83190 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"employment_history\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"title\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"company\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"website\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_from\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_to\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `healths` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `type` varchar(32) DEFAULT NULL,\\n `description` varchar(1024) DEFAULT NULL,\\n `user_answer` tinyint unsigned NOT NULL DEFAULT '0',\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_health_travellers` (`cid`),\\n KEY `fk_t_profiles_healths_cb` (`_cb`),\\n KEY `fk_t_profiles_healths_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_health_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_healths_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_healths_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"healths\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":32,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1024,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"user_answer\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":5,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"0\",\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `language_interests` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `has_other` tinyint(1) DEFAULT NULL,\\n `other_interest` tinyint(1) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_language_interest_travellers` (`cid`),\\n KEY `fk_t_profiles_language_interests_cb` (`_cb`),\\n KEY `fk_t_profiles_language_interests_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_language_interest_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_language_interests_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_language_interests_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2745 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"language_interests\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"has_other\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"other_interest\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `languages` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `language` varchar(100) DEFAULT NULL,\\n `fluency` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_languages_travellers` (`cid`),\\n KEY `fk_t_profiles_languages_cb` (`_cb`),\\n KEY `fk_t_profiles_languages_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_languages_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_languages_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_languages_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=4600 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"languages\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"language\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"fluency\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `licences` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_licences_cb` (`_cb`),\\n KEY `fk_t_profiles_licences_lmb` (`_lmb`),\\n KEY `fk_licences_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_licences_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_licences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_licences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=30608 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"licences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `notification_settings` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `settings` json DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n UNIQUE KEY `cid` (`cid`),\\n KEY `fk_t_profiles_notification_settings_cb` (`_cb`),\\n KEY `fk_t_profiles_notification_settings_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_notification_settings_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`),\\n CONSTRAINT `fk_t_profiles_notification_settings_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`)\\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"notification_settings\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"settings\",\"jdbcType\":1111,\"typeName\":\"JSON\",\"typeExpression\":\"JSON\",\"charsetName\":null,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `position_preferences` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `family_with_2c_up` tinyint(1) DEFAULT NULL,\\n `family_with_single_parent` tinyint(1) DEFAULT NULL,\\n `family_with_pets` tinyint(1) DEFAULT NULL,\\n `family_with_special_needs` tinyint(1) DEFAULT NULL,\\n `family_with_sole_in_charge` tinyint(1) DEFAULT NULL,\\n `work_weekends` varchar(50) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_position_preferences_travellers` (`cid`),\\n KEY `fk_t_profiles_position_preferences_cb` (`_cb`),\\n KEY `fk_t_profiles_position_preferences_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_position_preferences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_position_preferences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_position_preferences_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2819 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"position_preferences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"family_with_2c_up\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_single_parent\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_pets\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_special_needs\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_sole_in_charge\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"work_weekends\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":50,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `qualifications` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `international_drivers_license` varchar(100) DEFAULT NULL,\\n `international_drivers_license_type` varchar(32) DEFAULT NULL,\\n `international_drivers_license_date` int DEFAULT NULL,\\n `first_aid` tinyint(1) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_qualifications_travellers` (`cid`),\\n KEY `fk_t_profiles_qualifications_cb` (`_cb`),\\n KEY `fk_t_profiles_qualifications_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_qualifications_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_qualifications_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_qualifications_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2795 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"qualifications\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"international_drivers_license\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"international_drivers_license_type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":32,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"international_drivers_license_date\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"first_aid\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `requests` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `resume_id` int unsigned NOT NULL,\\n `type` varchar(30) NOT NULL,\\n `description` varchar(1000) NOT NULL,\\n `requested_by` varchar(30) NOT NULL,\\n `requested_at` int NOT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_requests_cb` (`_cb`),\\n KEY `fk_t_profiles_requests_lmb` (`_lmb`),\\n KEY `fk_requests_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_requests_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_requests_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_requests_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=4683 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"requests\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1000,\"position\":4,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"requested_by\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":5,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"requested_at\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `resumes` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `status` varchar(100) DEFAULT NULL,\\n `step_index` smallint unsigned NOT NULL DEFAULT '1',\\n `s3_resume_pic` varchar(512) DEFAULT NULL,\\n `date_created` varchar(30) NOT NULL,\\n `date_modified` varchar(30) NOT NULL,\\n `first_name` varchar(100) DEFAULT NULL,\\n `middle_name` varchar(100) DEFAULT NULL,\\n `last_name` varchar(100) DEFAULT NULL,\\n `email` varchar(100) DEFAULT NULL,\\n `phone_code` char(16) DEFAULT NULL,\\n `phone` varchar(100) DEFAULT NULL,\\n `skype` varchar(100) DEFAULT NULL,\\n `introduction` varchar(1000) DEFAULT NULL,\\n `objectives` varchar(1000) DEFAULT NULL,\\n `cid` bigint unsigned NOT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_resumes_cb` (`_cb`),\\n KEY `fk_t_profiles_resumes_lmb` (`_lmb`),\\n KEY `fk_resumes_travellers_idx` (`cid`),\\n CONSTRAINT `fk_resumes_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_resumes_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_resumes_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=30617 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"resumes\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"status\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"step_index\",\"jdbcType\":5,\"typeName\":\"SMALLINT UNSIGNED\",\"typeExpression\":\"SMALLINT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"1\",\"enumValues\":[]},{\"name\":\"s3_resume_pic\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":512,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_created\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":5,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"date_modified\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":6,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"first_name\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"middle_name\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"last_name\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"email\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"phone_code\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":16,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"phone\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"skype\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"introduction\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1000,\"position\":14,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"objectives\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1000,\"position\":15,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":16,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":17,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":18,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":19,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":20,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `skills` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_skills_cb` (`_cb`),\\n KEY `fk_t_profiles_skills_lmb` (`_lmb`),\\n KEY `fk_skills_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_skills_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_skills_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_skills_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=122837 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"skills\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `statuses` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `aupair_status` varchar(100) DEFAULT NULL,\\n `aupair_step_index` smallint unsigned NOT NULL DEFAULT '1',\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_statuses_travellers` (`cid`),\\n KEY `idx_t_profiles_qualifications_travellers` (`cid`),\\n KEY `fk_t_profiles_statuses_cb` (`_cb`),\\n KEY `fk_t_profiles_statuses_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_statuses_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_statuses_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_statuses_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=3124 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"statuses\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"aupair_status\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"aupair_step_index\",\"jdbcType\":5,\"typeName\":\"SMALLINT UNSIGNED\",\"typeExpression\":\"SMALLINT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"1\",\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `trip_preferences` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `departure_earliest` int DEFAULT NULL,\\n `departure_latest` int DEFAULT NULL,\\n `stay_12_months` tinyint(1) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_trip_preferences_travellers` (`cid`),\\n KEY `fk_t_profiles_trip_preferences_cb` (`_cb`),\\n KEY `fk_t_profiles_trip_preferences_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_trip_preferences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_trip_preferences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_trip_preferences_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2785 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"trip_preferences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"departure_earliest\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"departure_latest\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"stay_12_months\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26246922,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247143,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247364,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247585,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247806,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26248165,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26249666,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26250108,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26250589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26251721,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252030,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252254,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252478,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252702,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252926,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26253291,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26256418,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26256866,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26257356,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26259575,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26259890,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260120,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260350,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260580,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260810,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26261187,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26265382,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26265842,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26266350,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26269304,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26269604,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26269819,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270034,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270249,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270464,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270811,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26273923,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26274353,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26274816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26276978,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277283,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277503,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277723,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277943,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26278163,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26278520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26280875,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26281315,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26281793,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26283502,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26283805,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284023,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284459,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284677,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26285030,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26286537,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26286973,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26287445,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26288571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26288874,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289092,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289310,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289528,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26290099,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26292456,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26292892,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26293364,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295065,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295376,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295602,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26296054,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26296280,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26296649,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26298498,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26298950,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26299446,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26300821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301587,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301814,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26302041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26302412,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26305129,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26305583,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26306082,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308058,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308359,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308575,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308791,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26309007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26309223,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26309572,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26311315,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26311747,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26312213,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26313500,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26313812,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314039,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314266,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314493,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314720,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26315091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26316632,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26317086,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26317585,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26318755,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319058,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319276,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319494,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319712,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319930,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26320283,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26321738,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26322174,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26322646,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26323746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324048,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324265,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324482,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324916,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26325267,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26326744,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26327178,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26327647,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26328755,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329070,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329300,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329530,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329990,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26330367,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26331596,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26332056,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26332564,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26333531,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26333845,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334074,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334303,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334532,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334761,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26335136,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26338161,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26338619,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26339124,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26341264,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26341572,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26341795,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342018,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342464,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342827,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26345202,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26345648,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26346135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26347815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348117,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348334,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348551,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348768,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348985,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26349336,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26351419,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26351853,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26352322,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26353832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354349,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354565,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354781,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354997,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26355346,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26360325,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26360757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26361223,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26364667,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26364967,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365182,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365397,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365827,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26366174,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26367639,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26368069,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26368532,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26369628,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26369930,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370147,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370364,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370581,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370798,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26371149,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26372658,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26373092,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26373561,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26374685,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26374995,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375220,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375445,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375670,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375895,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26376262,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26378156,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26378606,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26379099,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26380493,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481147,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481372,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481597,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481822,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13482047,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13482414,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13484308,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13484758,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13485251,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13486645,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13486947,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487164,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487381,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487598,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13488166,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13489675,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13490109,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13490578,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13491702,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492002,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492217,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492432,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492647,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13493209,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13494674,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13495104,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13495567,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13496663,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13496964,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497180,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497396,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13498177,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13503156,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13503588,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13504054,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13507498,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13507800,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508017,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508234,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508451,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508668,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13509019,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13511102,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13511536,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13512005,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13513515,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13513823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514046,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514269,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514492,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514715,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13515078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13517453,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13517899,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13518386,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520066,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520380,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520609,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520838,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13521067,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13521296,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13521671,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13524696,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13525154,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13525659,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13527799,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528101,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528318,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528535,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528752,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528969,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13529320,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13530797,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13531231,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13531700,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13532808,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533329,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533547,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533765,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533983,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13534336,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13535791,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13536227,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13536699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13537799,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538338,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538565,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538792,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13539019,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13539390,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13540931,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13541385,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13541884,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543054,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543355,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543787,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13544003,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13544219,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13544568,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13546311,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13546743,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13547209,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13548496,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13548808,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549035,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549262,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549489,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549716,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13550087,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13552804,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13553258,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13553757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13555733,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556044,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556270,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556496,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556722,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556948,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13557317,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13559166,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13559618,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13560114,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13561489,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13561792,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562010,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562228,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562446,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562664,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13563017,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13565374,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13565810,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13566282,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13567983,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568286,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568504,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568722,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568940,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13569158,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13569511,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13571018,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13571454,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13571926,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573052,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573357,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573577,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573797,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13574017,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13574237,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13574594,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13576949,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13577389,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13577867,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13579576,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13579876,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580306,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580521,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580736,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13581083,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13584195,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13584625,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13585088,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13587250,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13587565,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13587795,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588025,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588255,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588485,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13593057,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13593517,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13594025,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13596979,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597288,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597512,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597736,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597960,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13598184,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13598549,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13601676,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13602124,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13602614,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13604833,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605139,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605581,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605802,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13606023,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13606382,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13607883,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13608325,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13608806,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13609938,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610253,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610483,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610713,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610943,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13611173,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13611550,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13612779,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13613239,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13613747,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13614714,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675669,\"file\":\"mysql-bin-changelog.000033\",\"pos\":14524623,\"server_id\":239712215},\"databaseName\":\"\",\"ddl\":\"CREATE TABLE IF NOT EXISTS `a_affiliate`.activity_log (\\n id INTEGER(11) UNSIGNED PRIMARY KEY AUTO_INCREMENT,\\n table_name CHAR(255),\\n field_name CHAR(255),\\n record_id BIGINT(11) UNSIGNED,\\n value TEXT(2048),\\n time INTEGER(11),\\n staff_id INTEGER(11) UNSIGNED,\\n action TINYINT(8) UNSIGNED NOT NULL,\\n CONSTRAINT `fk_a_affiliate_activity_log_staff_id`\\n FOREIGN KEY (staff_id) REFERENCES crm_config.legacy_users(id)\\n )\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675670,\"file\":\"mysql-bin-changelog.000033\",\"pos\":14607140,\"server_id\":239712215},\"databaseName\":\"\",\"ddl\":\"CREATE TABLE IF NOT EXISTS `a_audience`.activity_log (\\n id INTEGER(11) UNSIGNED PRIMARY KEY AUTO_INCREMENT,\\n table_name CHAR(255),\\n field_name CHAR(255),\\n record_id BIGINT(11) UNSIGNED,\\n value TEXT(2048),\\n time INTEGER(11),\\n staff_id INTEGER(11) UNSIGNED,\\n action TINYINT(8) UNSIGNED NOT NULL,\\n CONSTRAINT `fk_a_audience_activity_log_staff_id`\\n FOREIGN KEY (staff_id) REFERENCES crm_config.legacy_users(id)\\n )\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945171,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945396,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945621,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945846,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946071,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946438,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948332,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948782,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15949275,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950669,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950971,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951188,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951405,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951622,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951839,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15952190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15953699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954602,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15955726,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956026,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956456,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956671,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15957233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15958698,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959128,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959591,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960687,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960988,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961204,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961420,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961636,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961852,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15962201,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967180,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15968078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971522,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971824,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972258,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972475,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972692,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15973043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975126,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975560,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15976029,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977539,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977847,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978070,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978293,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978516,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978739,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15979102,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981477,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981923,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15982410,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984090,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984404,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984633,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985320,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985695,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15988720,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989178,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989683,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15991823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992125,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992342,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992559,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992776,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992993,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15993344,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15994821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995255,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995724,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15996832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997353,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997789,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15999815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000251,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000723,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16001823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002362,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003414,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16004955,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005409,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005908,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007379,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007595,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007811,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008027,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008243,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008592,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010335,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010767,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16011233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013059,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013286,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013740,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16014111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16016828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017282,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017781,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16019757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020068,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020294,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020972,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16021341,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023642,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16024138,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026034,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026252,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026470,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026688,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16027041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029398,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029834,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16030306,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032310,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032528,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032964,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033182,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033535,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035042,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035478,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035950,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037076,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037381,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037601,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038261,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038618,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16040973,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041413,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041891,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043600,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043900,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044115,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044330,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044545,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16045107,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048219,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048649,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16049112,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051274,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051819,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052279,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052509,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057081,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057541,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16058049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061003,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061312,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061536,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061984,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062208,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062573,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16065700,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066148,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066638,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16068857,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069163,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069384,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069605,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069826,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070047,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070406,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16071907,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072349,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072830,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16073962,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074277,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074507,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074737,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074967,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075197,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075574,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16076803,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077263,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077771,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16078738,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945171,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945396,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945621,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945846,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946071,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946438,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948332,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948782,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15949275,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950669,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950971,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951188,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951405,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951622,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951839,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15952190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15953699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954602,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15955726,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956026,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956456,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956671,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15957233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15958698,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959128,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959591,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960687,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960988,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961204,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961420,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961636,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961852,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15962201,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967180,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15968078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971522,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971824,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972258,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972475,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972692,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15973043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975126,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975560,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15976029,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977539,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977847,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978070,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978293,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978516,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978739,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15979102,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981477,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981923,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15982410,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984090,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984404,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984633,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985320,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985695,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15988720,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989178,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989683,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15991823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992125,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992342,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992559,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992776,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992993,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15993344,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15994821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995255,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995724,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15996832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997353,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997789,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15999815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000251,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000723,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16001823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002362,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003414,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16004955,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005409,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005908,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007379,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007595,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007811,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008027,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008243,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008592,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010335,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010767,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16011233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013059,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013286,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013740,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16014111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16016828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017282,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017781,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16019757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020068,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020294,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020972,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16021341,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023642,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16024138,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026034,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026252,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026470,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026688,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16027041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029398,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029834,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16030306,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032310,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032528,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032964,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033182,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033535,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035042,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035478,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035950,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037076,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037381,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037601,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038261,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038618,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16040973,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041413,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041891,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043600,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043900,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044115,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044330,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044545,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16045107,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048219,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048649,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16049112,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051274,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051819,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052279,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052509,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057081,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057541,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16058049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061003,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061312,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061536,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061984,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062208,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062573,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16065700,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066148,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066638,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16068857,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069163,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069384,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069605,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069826,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070047,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070406,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16071907,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072349,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072830,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16073962,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074277,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074507,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074737,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074967,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075197,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075574,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16076803,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077263,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077771,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16078738,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n","mysql_cdc_offset":{"{\"schema\":null,\"payload\":[\"t_profiles\",{\"server\":\"t_profiles\"}]}":"{\"transaction_id\":null,\"ts_sec\":1663682030,\"file\":\"mysql-bin-changelog.000033\",\"pos\":17424560,\"row\":1,\"server_id\":239712215,\"event\":4}"}}},"stream_states":[{"stream_descriptor":{"name":"activity_log","namespace":"t_profiles"},"stream_state":{"stream_name":"activity_log","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"certificates","namespace":"t_profiles"},"stream_state":{"stream_name":"certificates","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"characteristics","namespace":"t_profiles"},"stream_state":{"stream_name":"characteristics","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"childcare_experiences","namespace":"t_profiles"},"stream_state":{"stream_name":"childcare_experiences","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"chores","namespace":"t_profiles"},"stream_state":{"stream_name":"chores","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"convictions","namespace":"t_profiles"},"stream_state":{"stream_name":"convictions","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"dietaries","namespace":"t_profiles"},"stream_state":{"stream_name":"dietaries","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"education","namespace":"t_profiles"},"stream_state":{"stream_name":"education","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"employment_duties","namespace":"t_profiles"},"stream_state":{"stream_name":"employment_duties","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"employment_history","namespace":"t_profiles"},"stream_state":{"stream_name":"employment_history","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"healths","namespace":"t_profiles"},"stream_state":{"stream_name":"healths","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"language_interests","namespace":"t_profiles"},"stream_state":{"stream_name":"language_interests","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"languages","namespace":"t_profiles"},"stream_state":{"stream_name":"languages","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"licences","namespace":"t_profiles"},"stream_state":{"stream_name":"licences","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"notification_settings","namespace":"t_profiles"},"stream_state":{"stream_name":"notification_settings","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"position_preferences","namespace":"t_profiles"},"stream_state":{"stream_name":"position_preferences","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"qualifications","namespace":"t_profiles"},"stream_state":{"stream_name":"qualifications","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"requests","namespace":"t_profiles"},"stream_state":{"stream_name":"requests","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"resumes","namespace":"t_profiles"},"stream_state":{"stream_name":"resumes","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"skills","namespace":"t_profiles"},"stream_state":{"stream_name":"skills","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"statuses","namespace":"t_profiles"},"stream_state":{"stream_name":"statuses","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"trip_preferences","namespace":"t_profiles"},"stream_state":{"stream_name":"trip_preferences","stream_namespace":"t_profiles","cursor_field":[]}},{"stream_descriptor":{"name":"v_profile_summary","namespace":"t_profiles"},"stream_state":{"stream_name":"v_profile_summary","stream_namespace":"t_profiles","cursor_field":[]}}]},"data":{"cdc":true,"cdc_state":{"state":{"mysql_db_history":"{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955574,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"\",\"ddl\":\"SET character_set_server=utf8mb4, collation_server=utf8mb4_0900_ai_ci\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`activity_log`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`certificates`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`characteristics`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`childcare_experiences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`chores`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`convictions`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`dietaries`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`education`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`employment_duties`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`employment_history`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`healths`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`language_interests`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`languages`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`licences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`notification_settings`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`position_preferences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`qualifications`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`requests`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`resumes`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`skills`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`statuses`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955575,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TABLE IF EXISTS `t_profiles`.`trip_preferences`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP DATABASE IF EXISTS `t_profiles`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DATABASE `t_profiles` CHARSET latin1 COLLATE latin1_swedish_ci\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"USE `t_profiles`\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `activity_log` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `table_name` char(255) DEFAULT NULL,\\n `field_name` char(255) DEFAULT NULL,\\n `record_id` bigint unsigned DEFAULT NULL,\\n `value` text,\\n `time` int DEFAULT NULL,\\n `staff_id` int unsigned DEFAULT NULL,\\n `action` tinyint unsigned NOT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_activity_log_staff_id` (`staff_id`),\\n CONSTRAINT `fk_t_profiles_activity_log_staff_id` FOREIGN KEY (`staff_id`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=1006104 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"activity_log\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"table_name\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":255,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"field_name\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":255,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"record_id\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"value\",\"jdbcType\":12,\"typeName\":\"TEXT\",\"typeExpression\":\"TEXT\",\"charsetName\":\"latin1\",\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"time\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"staff_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"action\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `certificates` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_certificates_cb` (`_cb`),\\n KEY `fk_t_profiles_certificates_lmb` (`_lmb`),\\n KEY `fk_certificates_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_certificates_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_certificates_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_certificates_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=58532 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"certificates\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `characteristics` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `description` varchar(500) DEFAULT NULL,\\n `interests` varchar(500) DEFAULT NULL,\\n `positive_traits` varchar(500) DEFAULT NULL,\\n `religion` varchar(100) DEFAULT NULL,\\n `smoking_habit` varchar(100) DEFAULT NULL,\\n `lived_from_home` tinyint(1) DEFAULT NULL,\\n `lived_from_home_details` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_character_travellers` (`cid`),\\n KEY `fk_t_profiles_characteristics_cb` (`_cb`),\\n KEY `fk_t_profiles_characteristics_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_character_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_characteristics_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_characteristics_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2811 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"characteristics\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"interests\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"positive_traits\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"religion\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"smoking_habit\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"lived_from_home\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"lived_from_home_details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `childcare_experiences` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `age_infants` varchar(100) DEFAULT NULL,\\n `age_1_5` varchar(100) DEFAULT NULL,\\n `age_5_10` varchar(100) DEFAULT NULL,\\n `age_10_over` varchar(100) DEFAULT NULL,\\n `ideal_job` varchar(500) DEFAULT NULL,\\n `motivation` varchar(500) DEFAULT NULL,\\n `childcare_negatives` varchar(500) DEFAULT NULL,\\n `childcare_positives` varchar(500) DEFAULT NULL,\\n `discipline_with_children` varchar(500) DEFAULT NULL,\\n `activities_with_children` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_childcare_travellers` (`cid`),\\n KEY `fk_t_profiles_childcare_experiences_cb` (`_cb`),\\n KEY `fk_t_profiles_childcare_experiences_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_childcare_experiences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_childcare_experiences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_childcare_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2822 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"childcare_experiences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"age_infants\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"age_1_5\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"age_5_10\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"age_10_over\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"ideal_job\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"motivation\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"childcare_negatives\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"childcare_positives\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"discipline_with_children\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"activities_with_children\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":14,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":15,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":16,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `chores` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `child_meals` tinyint(1) DEFAULT NULL,\\n `light_housework` tinyint(1) DEFAULT NULL,\\n `general_housework` varchar(100) DEFAULT NULL,\\n `housework_unwilling` tinyint(1) DEFAULT NULL,\\n `housework_unwilling_details` varchar(500) DEFAULT NULL,\\n `meal_prep` varchar(100) DEFAULT NULL,\\n `accustomed_chores` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_chores_travellers` (`cid`),\\n KEY `fk_t_profiles_chores_cb` (`_cb`),\\n KEY `fk_t_profiles_chores_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_chores_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_chores_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_chores_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2824 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"chores\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"child_meals\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"light_housework\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"general_housework\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"housework_unwilling\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"housework_unwilling_details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"meal_prep\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"accustomed_chores\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `convictions` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `type` varchar(32) DEFAULT NULL,\\n `description` varchar(1024) DEFAULT NULL,\\n `date_occurred` int DEFAULT NULL,\\n `bac` decimal(6,3) DEFAULT NULL,\\n `user_answer` tinyint unsigned NOT NULL DEFAULT '0',\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_convictions_travellers` (`cid`),\\n KEY `fk_t_profiles_convictions_cb` (`_cb`),\\n KEY `fk_t_profiles_convictions_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_convictions_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_convictions_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_convictions_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"convictions\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":32,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1024,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_occurred\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"bac\",\"jdbcType\":3,\"typeName\":\"DECIMAL\",\"typeExpression\":\"DECIMAL\",\"charsetName\":null,\"length\":6,\"scale\":3,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"user_answer\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"0\",\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `dietaries` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `has_requirements` tinyint(1) DEFAULT NULL,\\n `requirements` varchar(500) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_dietary_travellers` (`cid`),\\n KEY `fk_t_profiles_dietaries_cb` (`_cb`),\\n KEY `fk_t_profiles_dietaries_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_dietaries_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_dietaries_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_dietary_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2378 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"dietaries\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"has_requirements\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"requirements\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":500,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `education` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `title` varchar(100) DEFAULT NULL,\\n `institution` varchar(100) DEFAULT NULL,\\n `date_from` varchar(30) DEFAULT NULL,\\n `date_to` varchar(30) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_education_cb` (`_cb`),\\n KEY `fk_t_profiles_education_lmb` (`_lmb`),\\n KEY `fk_education_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_education_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_education_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_education_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=37762 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"education\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"title\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"institution\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_from\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_to\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `employment_duties` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `employment_id` int unsigned NOT NULL,\\n `details` varchar(200) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_employment_duties_cb` (`_cb`),\\n KEY `fk_t_profiles_employment_duties_lmb` (`_lmb`),\\n KEY `fk_employment_duties_employment_history_idx` (`employment_id`),\\n KEY `fk_employment_duties_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_employment_duties_employment_history` FOREIGN KEY (`employment_id`) REFERENCES `employment_history` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_employment_duties_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_duties_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_duties_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=438848 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"employment_duties\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"employment_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":200,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `employment_history` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `title` varchar(100) DEFAULT NULL,\\n `company` varchar(100) DEFAULT NULL,\\n `website` varchar(100) DEFAULT NULL,\\n `date_from` varchar(30) DEFAULT NULL,\\n `date_to` varchar(30) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_employment_history_cb` (`_cb`),\\n KEY `fk_t_profiles_employment_history_lmb` (`_lmb`),\\n KEY `fk_employment_history_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_employment_history_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_history_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_employment_history_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=83190 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"employment_history\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"title\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"company\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"website\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_from\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_to\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `healths` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `type` varchar(32) DEFAULT NULL,\\n `description` varchar(1024) DEFAULT NULL,\\n `user_answer` tinyint unsigned NOT NULL DEFAULT '0',\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_health_travellers` (`cid`),\\n KEY `fk_t_profiles_healths_cb` (`_cb`),\\n KEY `fk_t_profiles_healths_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_health_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_healths_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_healths_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"healths\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":32,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1024,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"user_answer\",\"jdbcType\":5,\"typeName\":\"TINYINT UNSIGNED\",\"typeExpression\":\"TINYINT UNSIGNED\",\"charsetName\":null,\"position\":5,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"0\",\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `language_interests` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `has_other` tinyint(1) DEFAULT NULL,\\n `other_interest` tinyint(1) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_language_interest_travellers` (`cid`),\\n KEY `fk_t_profiles_language_interests_cb` (`_cb`),\\n KEY `fk_t_profiles_language_interests_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_language_interest_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_language_interests_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_language_interests_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2745 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"language_interests\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"has_other\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"other_interest\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `languages` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `language` varchar(100) DEFAULT NULL,\\n `fluency` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_languages_travellers` (`cid`),\\n KEY `fk_t_profiles_languages_cb` (`_cb`),\\n KEY `fk_t_profiles_languages_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_languages_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_languages_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_languages_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=4600 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"languages\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"language\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"fluency\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `licences` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_licences_cb` (`_cb`),\\n KEY `fk_t_profiles_licences_lmb` (`_lmb`),\\n KEY `fk_licences_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_licences_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_licences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_licences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=30608 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"licences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `notification_settings` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `settings` json DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n UNIQUE KEY `cid` (`cid`),\\n KEY `fk_t_profiles_notification_settings_cb` (`_cb`),\\n KEY `fk_t_profiles_notification_settings_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_notification_settings_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`),\\n CONSTRAINT `fk_t_profiles_notification_settings_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`)\\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"notification_settings\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"settings\",\"jdbcType\":1111,\"typeName\":\"JSON\",\"typeExpression\":\"JSON\",\"charsetName\":null,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `position_preferences` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `family_with_2c_up` tinyint(1) DEFAULT NULL,\\n `family_with_single_parent` tinyint(1) DEFAULT NULL,\\n `family_with_pets` tinyint(1) DEFAULT NULL,\\n `family_with_special_needs` tinyint(1) DEFAULT NULL,\\n `family_with_sole_in_charge` tinyint(1) DEFAULT NULL,\\n `work_weekends` varchar(50) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_position_preferences_travellers` (`cid`),\\n KEY `fk_t_profiles_position_preferences_cb` (`_cb`),\\n KEY `fk_t_profiles_position_preferences_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_position_preferences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_position_preferences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_position_preferences_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2819 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"position_preferences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"family_with_2c_up\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_single_parent\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_pets\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_special_needs\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"family_with_sole_in_charge\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"work_weekends\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":50,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `qualifications` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `international_drivers_license` varchar(100) DEFAULT NULL,\\n `international_drivers_license_type` varchar(32) DEFAULT NULL,\\n `international_drivers_license_date` int DEFAULT NULL,\\n `first_aid` tinyint(1) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_qualifications_travellers` (`cid`),\\n KEY `fk_t_profiles_qualifications_cb` (`_cb`),\\n KEY `fk_t_profiles_qualifications_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_qualifications_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_qualifications_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_qualifications_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2795 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"qualifications\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"international_drivers_license\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"international_drivers_license_type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":32,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"international_drivers_license_date\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"first_aid\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `requests` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `resume_id` int unsigned NOT NULL,\\n `type` varchar(30) NOT NULL,\\n `description` varchar(1000) NOT NULL,\\n `requested_by` varchar(30) NOT NULL,\\n `requested_at` int NOT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_requests_cb` (`_cb`),\\n KEY `fk_t_profiles_requests_lmb` (`_lmb`),\\n KEY `fk_requests_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_requests_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_requests_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_requests_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=4683 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"requests\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"type\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"description\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1000,\"position\":4,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"requested_by\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":5,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"requested_at\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `resumes` (\\n `id` int unsigned NOT NULL AUTO_INCREMENT,\\n `status` varchar(100) DEFAULT NULL,\\n `step_index` smallint unsigned NOT NULL DEFAULT '1',\\n `s3_resume_pic` varchar(512) DEFAULT NULL,\\n `date_created` varchar(30) NOT NULL,\\n `date_modified` varchar(30) NOT NULL,\\n `first_name` varchar(100) DEFAULT NULL,\\n `middle_name` varchar(100) DEFAULT NULL,\\n `last_name` varchar(100) DEFAULT NULL,\\n `email` varchar(100) DEFAULT NULL,\\n `phone_code` char(16) DEFAULT NULL,\\n `phone` varchar(100) DEFAULT NULL,\\n `skype` varchar(100) DEFAULT NULL,\\n `introduction` varchar(1000) DEFAULT NULL,\\n `objectives` varchar(1000) DEFAULT NULL,\\n `cid` bigint unsigned NOT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_resumes_cb` (`_cb`),\\n KEY `fk_t_profiles_resumes_lmb` (`_lmb`),\\n KEY `fk_resumes_travellers_idx` (`cid`),\\n CONSTRAINT `fk_resumes_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_resumes_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_resumes_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=30617 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"resumes\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"status\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"step_index\",\"jdbcType\":5,\"typeName\":\"SMALLINT UNSIGNED\",\"typeExpression\":\"SMALLINT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"1\",\"enumValues\":[]},{\"name\":\"s3_resume_pic\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":512,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"date_created\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":5,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"date_modified\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":30,\"position\":6,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"first_name\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"middle_name\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"last_name\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"email\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":10,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"phone_code\",\"jdbcType\":1,\"typeName\":\"CHAR\",\"typeExpression\":\"CHAR\",\"charsetName\":\"latin1\",\"length\":16,\"position\":11,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"phone\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":12,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"skype\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":13,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"introduction\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1000,\"position\":14,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"objectives\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":1000,\"position\":15,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":16,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":17,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":18,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":19,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":20,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `skills` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `order_num` int DEFAULT NULL,\\n `resume_id` int unsigned NOT NULL,\\n `details` varchar(100) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `fk_t_profiles_skills_cb` (`_cb`),\\n KEY `fk_t_profiles_skills_lmb` (`_lmb`),\\n KEY `fk_skills_resumes_idx` (`resume_id`),\\n CONSTRAINT `fk_skills_resumes` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_skills_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_skills_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=122837 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"skills\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"order_num\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":2,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"resume_id\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":3,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"details\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `statuses` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `aupair_status` varchar(100) DEFAULT NULL,\\n `aupair_step_index` smallint unsigned NOT NULL DEFAULT '1',\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_statuses_travellers` (`cid`),\\n KEY `idx_t_profiles_qualifications_travellers` (`cid`),\\n KEY `fk_t_profiles_statuses_cb` (`_cb`),\\n KEY `fk_t_profiles_statuses_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_statuses_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_statuses_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_statuses_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=3124 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"statuses\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"aupair_status\",\"jdbcType\":12,\"typeName\":\"VARCHAR\",\"typeExpression\":\"VARCHAR\",\"charsetName\":\"latin1\",\"length\":100,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"aupair_step_index\",\"jdbcType\":5,\"typeName\":\"SMALLINT UNSIGNED\",\"typeExpression\":\"SMALLINT UNSIGNED\",\"charsetName\":null,\"position\":4,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"defaultValueExpression\":\"1\",\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"ts_sec\":1662955577,\"file\":\"mysql-bin-changelog.000030\",\"pos\":18571683,\"snapshot\":true},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE TABLE `trip_preferences` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `cid` bigint unsigned NOT NULL,\\n `departure_earliest` int DEFAULT NULL,\\n `departure_latest` int DEFAULT NULL,\\n `stay_12_months` tinyint(1) DEFAULT NULL,\\n `_ca` int DEFAULT NULL,\\n `_cb` int unsigned DEFAULT NULL,\\n `_lma` int DEFAULT NULL,\\n `_lmb` int unsigned DEFAULT NULL,\\n PRIMARY KEY (`id`),\\n KEY `idx_t_profiles_trip_preferences_travellers` (`cid`),\\n KEY `fk_t_profiles_trip_preferences_cb` (`_cb`),\\n KEY `fk_t_profiles_trip_preferences_lmb` (`_lmb`),\\n CONSTRAINT `fk_t_profiles_trip_preferences_cb` FOREIGN KEY (`_cb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_trip_preferences_lmb` FOREIGN KEY (`_lmb`) REFERENCES `crm_config`.`legacy_users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,\\n CONSTRAINT `fk_t_profiles_trip_preferences_travellers` FOREIGN KEY (`cid`) REFERENCES `t_travellers`.`travellers` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT\\n) ENGINE=InnoDB AUTO_INCREMENT=2785 DEFAULT CHARSET=latin1\",\"tableChanges\":[{\"type\":\"CREATE\",\"id\":\"\\\"t_profiles\\\".\\\"trip_preferences\\\"\",\"table\":{\"defaultCharsetName\":\"latin1\",\"primaryKeyColumnNames\":[\"id\"],\"columns\":[{\"name\":\"id\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":1,\"optional\":false,\"autoIncremented\":true,\"generated\":true,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"cid\",\"jdbcType\":-5,\"typeName\":\"BIGINT UNSIGNED\",\"typeExpression\":\"BIGINT UNSIGNED\",\"charsetName\":null,\"position\":2,\"optional\":false,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":false,\"enumValues\":[]},{\"name\":\"departure_earliest\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":3,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"departure_latest\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":4,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"stay_12_months\",\"jdbcType\":5,\"typeName\":\"TINYINT\",\"typeExpression\":\"TINYINT\",\"charsetName\":null,\"length\":1,\"position\":5,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_ca\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":6,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_cb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":7,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lma\",\"jdbcType\":4,\"typeName\":\"INT\",\"typeExpression\":\"INT\",\"charsetName\":null,\"position\":8,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]},{\"name\":\"_lmb\",\"jdbcType\":4,\"typeName\":\"INT UNSIGNED\",\"typeExpression\":\"INT UNSIGNED\",\"charsetName\":null,\"position\":9,\"optional\":true,\"autoIncremented\":false,\"generated\":false,\"comment\":null,\"hasDefaultValue\":true,\"enumValues\":[]}]},\"comment\":null}]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26246922,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247143,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247364,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247585,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26247806,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26248165,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26249666,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26250108,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26250589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26251721,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252030,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252254,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252478,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252702,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26252926,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26253291,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26256418,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26256866,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26257356,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26259575,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26259890,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260120,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260350,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260580,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26260810,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985213,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26261187,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26265382,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26265842,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26266350,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26269304,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26269604,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26269819,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270034,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270249,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270464,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26270811,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26273923,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26274353,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26274816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26276978,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277283,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277503,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277723,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26277943,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26278163,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26278520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26280875,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26281315,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26281793,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26283502,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26283805,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284023,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284459,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26284677,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26285030,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26286537,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26286973,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26287445,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26288571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26288874,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289092,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289310,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289528,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26289746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26290099,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26292456,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26292892,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26293364,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295065,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295376,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295602,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26295828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26296054,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26296280,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26296649,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26298498,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26298950,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26299446,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26300821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301587,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26301814,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26302041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26302412,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26305129,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26305583,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26306082,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308058,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308359,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308575,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26308791,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26309007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26309223,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26309572,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26311315,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26311747,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26312213,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26313500,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26313812,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314039,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314266,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314493,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26314720,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26315091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26316632,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26317086,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26317585,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26318755,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319058,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319276,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319494,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319712,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26319930,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26320283,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26321738,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26322174,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26322646,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26323746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324048,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324265,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324482,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26324916,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26325267,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26326744,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26327178,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26327647,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26328755,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329070,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329300,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329530,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26329990,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26330367,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26331596,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26332056,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26332564,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26333531,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26333845,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334074,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334303,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334532,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26334761,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26335136,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26338161,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26338619,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26339124,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26341264,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26341572,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26341795,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342018,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342464,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26342827,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26345202,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26345648,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26346135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26347815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348117,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348334,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348551,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348768,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26348985,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26349336,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26351419,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26351853,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26352322,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26353832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354349,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354565,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354781,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26354997,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26355346,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26360325,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26360757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26361223,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26364667,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26364967,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365182,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365397,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26365827,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26366174,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26367639,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26368069,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26368532,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26369628,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26369930,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370147,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370364,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370581,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26370798,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26371149,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26372658,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26373092,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26373561,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26374685,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26374995,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375220,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375445,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375670,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26375895,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26376262,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26378156,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26378606,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26379099,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1662985214,\"file\":\"mysql-bin-changelog.000030\",\"pos\":26380493,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481147,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481372,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481597,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13481822,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13482047,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13482414,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13484308,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13484758,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13485251,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13486645,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13486947,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487164,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487381,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487598,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13487815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13488166,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13489675,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13490109,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13490578,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13491702,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492002,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492217,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492432,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492647,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13492862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13493209,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13494674,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13495104,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13495567,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13496663,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13496964,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497180,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497396,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13497828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13498177,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13503156,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13503588,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13504054,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13507498,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13507800,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508017,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508234,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508451,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13508668,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13509019,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13511102,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13511536,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13512005,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13513515,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13513823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514046,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514269,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514492,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13514715,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13515078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13517453,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13517899,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13518386,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520066,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520380,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520609,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13520838,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13521067,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13521296,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13521671,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13524696,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13525154,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13525659,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13527799,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528101,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528318,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528535,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528752,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13528969,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13529320,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13530797,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13531231,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13531700,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13532808,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533329,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533547,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533765,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13533983,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13534336,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13535791,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13536227,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13536699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13537799,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538338,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538565,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13538792,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13539019,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13539390,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13540931,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13541385,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13541884,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543054,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543355,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13543787,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13544003,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13544219,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13544568,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13546311,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13546743,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13547209,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13548496,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13548808,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549035,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549262,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549489,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13549716,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13550087,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13552804,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13553258,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13553757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13555733,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556044,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556270,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556496,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556722,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13556948,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13557317,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13559166,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13559618,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13560114,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13561489,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13561792,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562010,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562228,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562446,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13562664,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13563017,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13565374,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13565810,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13566282,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13567983,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568286,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568504,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568722,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13568940,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13569158,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13569511,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13571018,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13571454,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13571926,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573052,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573357,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573577,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13573797,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13574017,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13574237,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13574594,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13576949,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13577389,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13577867,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13579576,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13579876,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580306,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580521,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13580736,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13581083,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13584195,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13584625,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13585088,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13587250,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13587565,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13587795,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588025,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588255,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588485,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13588862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13593057,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13593517,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13594025,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13596979,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597288,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597512,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597736,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13597960,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13598184,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13598549,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13601676,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13602124,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13602614,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13604833,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605139,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605581,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13605802,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13606023,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13606382,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13607883,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13608325,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13608806,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13609938,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610253,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610483,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610713,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13610943,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13611173,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13611550,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13612779,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13613239,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13613747,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675667,\"file\":\"mysql-bin-changelog.000033\",\"pos\":13614714,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675669,\"file\":\"mysql-bin-changelog.000033\",\"pos\":14524623,\"server_id\":239712215},\"databaseName\":\"\",\"ddl\":\"CREATE TABLE IF NOT EXISTS `a_affiliate`.activity_log (\\n id INTEGER(11) UNSIGNED PRIMARY KEY AUTO_INCREMENT,\\n table_name CHAR(255),\\n field_name CHAR(255),\\n record_id BIGINT(11) UNSIGNED,\\n value TEXT(2048),\\n time INTEGER(11),\\n staff_id INTEGER(11) UNSIGNED,\\n action TINYINT(8) UNSIGNED NOT NULL,\\n CONSTRAINT `fk_a_affiliate_activity_log_staff_id`\\n FOREIGN KEY (staff_id) REFERENCES crm_config.legacy_users(id)\\n )\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675670,\"file\":\"mysql-bin-changelog.000033\",\"pos\":14607140,\"server_id\":239712215},\"databaseName\":\"\",\"ddl\":\"CREATE TABLE IF NOT EXISTS `a_audience`.activity_log (\\n id INTEGER(11) UNSIGNED PRIMARY KEY AUTO_INCREMENT,\\n table_name CHAR(255),\\n field_name CHAR(255),\\n record_id BIGINT(11) UNSIGNED,\\n value TEXT(2048),\\n time INTEGER(11),\\n staff_id INTEGER(11) UNSIGNED,\\n action TINYINT(8) UNSIGNED NOT NULL,\\n CONSTRAINT `fk_a_audience_activity_log_staff_id`\\n FOREIGN KEY (staff_id) REFERENCES crm_config.legacy_users(id)\\n )\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945171,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945396,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945621,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945846,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946071,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946438,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948332,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948782,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15949275,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950669,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950971,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951188,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951405,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951622,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951839,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15952190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15953699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954602,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15955726,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956026,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956456,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956671,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15957233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15958698,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959128,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959591,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960687,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960988,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961204,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961420,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961636,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961852,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15962201,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967180,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15968078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971522,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971824,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972258,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972475,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972692,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15973043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975126,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975560,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15976029,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977539,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977847,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978070,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978293,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978516,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978739,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15979102,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981477,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981923,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15982410,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984090,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984404,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984633,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985320,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985695,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15988720,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989178,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989683,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15991823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992125,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992342,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992559,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992776,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992993,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15993344,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15994821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995255,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995724,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15996832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997353,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997789,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15999815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000251,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000723,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16001823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002362,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003414,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16004955,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005409,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005908,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007379,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007595,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007811,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008027,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008243,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008592,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010335,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010767,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16011233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013059,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013286,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013740,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16014111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16016828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017282,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017781,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16019757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020068,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020294,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020972,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16021341,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023642,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16024138,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026034,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026252,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026470,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026688,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16027041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029398,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029834,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16030306,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032310,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032528,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032964,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033182,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033535,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035042,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035478,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035950,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037076,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037381,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037601,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038261,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038618,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16040973,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041413,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041891,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043600,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043900,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044115,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044330,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044545,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16045107,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048219,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048649,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16049112,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051274,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051819,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052279,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052509,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057081,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057541,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16058049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061003,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061312,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061536,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061984,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062208,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062573,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16065700,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066148,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066638,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16068857,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069163,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069384,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069605,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069826,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070047,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070406,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16071907,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072349,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072830,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16073962,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074277,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074507,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074737,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074967,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075197,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075574,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16076803,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077263,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077771,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663675674,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16078738,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945171,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945396,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945621,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15945846,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946071,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_trip_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15946438,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_trip_preferences BEFORE UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948332,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_trip_preferences AFTER UPDATE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_earliest`, 0) <> COALESCE(OLD.`departure_earliest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`departure_latest`, 0) <> COALESCE(OLD.`departure_latest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`stay_12_months`, 0) <> COALESCE(OLD.`stay_12_months`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15948782,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_trip_preferences BEFORE INSERT ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15949275,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_trip_preferences AFTER INSERT ON `trip_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950669,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_trip_preferences BEFORE DELETE ON `trip_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_earliest', record_id = OLD.id, value = OLD.`departure_earliest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'departure_latest', record_id = OLD.id, value = OLD.`departure_latest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'trip_preferences', field_name = 'stay_12_months', record_id = OLD.id, value = OLD.`stay_12_months`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15950971,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951188,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951405,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951622,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15951839,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_statuses\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15952190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_statuses BEFORE UPDATE ON `statuses`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15953699,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_statuses AFTER UPDATE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_status`, 0) <> COALESCE(OLD.`aupair_status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`aupair_step_index`, 0) <> COALESCE(OLD.`aupair_step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954133,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_statuses BEFORE INSERT ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15954602,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_statuses AFTER INSERT ON `statuses`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15955726,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_statuses BEFORE DELETE ON `statuses`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_status', record_id = OLD.id, value = OLD.`aupair_status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'statuses', field_name = 'aupair_step_index', record_id = OLD.id, value = OLD.`aupair_step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956026,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956241,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956456,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956671,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15956886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_skills\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15957233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_skills BEFORE UPDATE ON `skills`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15958698,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_skills AFTER UPDATE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959128,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_skills BEFORE INSERT ON `skills`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15959591,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_skills AFTER INSERT ON `skills`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960687,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_skills BEFORE DELETE ON `skills`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'skills', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15960988,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961204,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961420,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961636,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15961852,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_resumes\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15962201,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_resumes BEFORE UPDATE ON `resumes`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967180,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_resumes AFTER UPDATE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`status`, 0) <> COALESCE(OLD.`status`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`step_index`, 0) <> COALESCE(OLD.`step_index`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`s3_resume_pic`, 0) <> COALESCE(OLD.`s3_resume_pic`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_created`, 0) <> COALESCE(OLD.`date_created`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_modified`, 0) <> COALESCE(OLD.`date_modified`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_name`, 0) <> COALESCE(OLD.`first_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`middle_name`, 0) <> COALESCE(OLD.`middle_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`last_name`, 0) <> COALESCE(OLD.`last_name`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`email`, 0) <> COALESCE(OLD.`email`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone_code`, 0) <> COALESCE(OLD.`phone_code`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`phone`, 0) <> COALESCE(OLD.`phone`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`skype`, 0) <> COALESCE(OLD.`skype`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`introduction`, 0) <> COALESCE(OLD.`introduction`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`objectives`, 0) <> COALESCE(OLD.`objectives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15967612,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_resumes BEFORE INSERT ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15968078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_resumes AFTER INSERT ON `resumes`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971522,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_resumes BEFORE DELETE ON `resumes`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'status', record_id = OLD.id, value = OLD.`status`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'step_index', record_id = OLD.id, value = OLD.`step_index`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 's3_resume_pic', record_id = OLD.id, value = OLD.`s3_resume_pic`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_created', record_id = OLD.id, value = OLD.`date_created`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'date_modified', record_id = OLD.id, value = OLD.`date_modified`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'first_name', record_id = OLD.id, value = OLD.`first_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'middle_name', record_id = OLD.id, value = OLD.`middle_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'last_name', record_id = OLD.id, value = OLD.`last_name`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'email', record_id = OLD.id, value = OLD.`email`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone_code', record_id = OLD.id, value = OLD.`phone_code`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'phone', record_id = OLD.id, value = OLD.`phone`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'skype', record_id = OLD.id, value = OLD.`skype`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'introduction', record_id = OLD.id, value = OLD.`introduction`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'objectives', record_id = OLD.id, value = OLD.`objectives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'resumes', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15971824,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972258,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972475,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15972692,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_requests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15973043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_requests BEFORE UPDATE ON `requests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975126,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_requests AFTER UPDATE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_by`, 0) <> COALESCE(OLD.`requested_by`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requested_at`, 0) <> COALESCE(OLD.`requested_at`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15975560,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_requests BEFORE INSERT ON `requests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15976029,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_requests AFTER INSERT ON `requests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977539,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_requests BEFORE DELETE ON `requests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_by', record_id = OLD.id, value = OLD.`requested_by`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'requests', field_name = 'requested_at', record_id = OLD.id, value = OLD.`requested_at`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15977847,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978070,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978293,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978516,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15978739,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_qualifications\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15979102,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_qualifications BEFORE UPDATE ON `qualifications`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981477,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_qualifications AFTER UPDATE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license`, 0) <> COALESCE(OLD.`international_drivers_license`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_type`, 0) <> COALESCE(OLD.`international_drivers_license_type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`international_drivers_license_date`, 0) <> COALESCE(OLD.`international_drivers_license_date`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`first_aid`, 0) <> COALESCE(OLD.`first_aid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15981923,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_qualifications BEFORE INSERT ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15982410,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_qualifications AFTER INSERT ON `qualifications`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984090,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_qualifications BEFORE DELETE ON `qualifications`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license', record_id = OLD.id, value = OLD.`international_drivers_license`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_type', record_id = OLD.id, value = OLD.`international_drivers_license_type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'international_drivers_license_date', record_id = OLD.id, value = OLD.`international_drivers_license_date`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'qualifications', field_name = 'first_aid', record_id = OLD.id, value = OLD.`first_aid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984404,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984633,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15984862,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985091,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985320,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_position_preferences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15985695,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_position_preferences BEFORE UPDATE ON `position_preferences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15988720,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_position_preferences AFTER UPDATE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_2c_up`, 0) <> COALESCE(OLD.`family_with_2c_up`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_single_parent`, 0) <> COALESCE(OLD.`family_with_single_parent`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_pets`, 0) <> COALESCE(OLD.`family_with_pets`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_special_needs`, 0) <> COALESCE(OLD.`family_with_special_needs`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`family_with_sole_in_charge`, 0) <> COALESCE(OLD.`family_with_sole_in_charge`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`work_weekends`, 0) <> COALESCE(OLD.`work_weekends`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989178,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_position_preferences BEFORE INSERT ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15989683,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_position_preferences AFTER INSERT ON `position_preferences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15991823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_position_preferences BEFORE DELETE ON `position_preferences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_2c_up', record_id = OLD.id, value = OLD.`family_with_2c_up`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_single_parent', record_id = OLD.id, value = OLD.`family_with_single_parent`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_pets', record_id = OLD.id, value = OLD.`family_with_pets`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_special_needs', record_id = OLD.id, value = OLD.`family_with_special_needs`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'family_with_sole_in_charge', record_id = OLD.id, value = OLD.`family_with_sole_in_charge`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'position_preferences', field_name = 'work_weekends', record_id = OLD.id, value = OLD.`work_weekends`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992125,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992342,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992559,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992776,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15992993,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_licences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15993344,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_licences BEFORE UPDATE ON `licences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15994821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_licences AFTER UPDATE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995255,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_licences BEFORE INSERT ON `licences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15995724,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_licences AFTER INSERT ON `licences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15996832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_licences BEFORE DELETE ON `licences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'licences', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997353,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997571,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15997789,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_languages\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15998360,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_languages BEFORE UPDATE ON `languages`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":15999815,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_languages AFTER UPDATE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`language`, 0) <> COALESCE(OLD.`language`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`fluency`, 0) <> COALESCE(OLD.`fluency`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000251,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_languages BEFORE INSERT ON `languages`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16000723,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_languages AFTER INSERT ON `languages`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16001823,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_languages BEFORE DELETE ON `languages`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'language', record_id = OLD.id, value = OLD.`language`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'languages', field_name = 'fluency', record_id = OLD.id, value = OLD.`fluency`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002135,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002362,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16002816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003043,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_language_interests\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16003414,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_language_interests BEFORE UPDATE ON `language_interests`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16004955,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_language_interests AFTER UPDATE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_other`, 0) <> COALESCE(OLD.`has_other`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`other_interest`, 0) <> COALESCE(OLD.`other_interest`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005409,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_language_interests BEFORE INSERT ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16005908,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_language_interests AFTER INSERT ON `language_interests`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007078,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_language_interests BEFORE DELETE ON `language_interests`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'has_other', record_id = OLD.id, value = OLD.`has_other`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'language_interests', field_name = 'other_interest', record_id = OLD.id, value = OLD.`other_interest`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007379,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007595,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16007811,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008027,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008243,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_healths\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16008592,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_healths BEFORE UPDATE ON `healths`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010335,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_healths AFTER UPDATE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16010767,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_healths BEFORE INSERT ON `healths`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16011233,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_healths AFTER INSERT ON `healths`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_healths BEFORE DELETE ON `healths`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'healths', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16012832,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013059,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013286,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16013740,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_history\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16014111,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_history BEFORE UPDATE ON `employment_history`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16016828,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_history AFTER UPDATE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`company`, 0) <> COALESCE(OLD.`company`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`website`, 0) <> COALESCE(OLD.`website`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017282,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_history BEFORE INSERT ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16017781,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_history AFTER INSERT ON `employment_history`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16019757,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_history BEFORE DELETE ON `employment_history`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'company', record_id = OLD.id, value = OLD.`company`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'website', record_id = OLD.id, value = OLD.`website`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_history', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020068,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020294,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020520,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16020972,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_employment_duties\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16021341,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_employment_duties BEFORE UPDATE ON `employment_duties`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023190,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_employment_duties AFTER UPDATE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`employment_id`, 0) <> COALESCE(OLD.`employment_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16023642,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_employment_duties BEFORE INSERT ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16024138,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_employment_duties AFTER INSERT ON `employment_duties`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025513,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_employment_duties BEFORE DELETE ON `employment_duties`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'employment_id', record_id = OLD.id, value = OLD.`employment_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'employment_duties', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16025816,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026034,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026252,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026470,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16026688,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_education\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16027041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_education BEFORE UPDATE ON `education`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029398,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_education AFTER UPDATE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`title`, 0) <> COALESCE(OLD.`title`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`institution`, 0) <> COALESCE(OLD.`institution`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_from`, 0) <> COALESCE(OLD.`date_from`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_to`, 0) <> COALESCE(OLD.`date_to`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16029834,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_education BEFORE INSERT ON `education`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16030306,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_education AFTER INSERT ON `education`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032007,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_education BEFORE DELETE ON `education`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'title', record_id = OLD.id, value = OLD.`title`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'institution', record_id = OLD.id, value = OLD.`institution`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_from', record_id = OLD.id, value = OLD.`date_from`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'education', field_name = 'date_to', record_id = OLD.id, value = OLD.`date_to`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032310,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032528,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032746,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16032964,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033182,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_dietaries\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16033535,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_dietaries BEFORE UPDATE ON `dietaries`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035042,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_dietaries AFTER UPDATE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`has_requirements`, 0) <> COALESCE(OLD.`has_requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`requirements`, 0) <> COALESCE(OLD.`requirements`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035478,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_dietaries BEFORE INSERT ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16035950,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_dietaries AFTER INSERT ON `dietaries`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037076,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_dietaries BEFORE DELETE ON `dietaries`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'has_requirements', record_id = OLD.id, value = OLD.`has_requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'dietaries', field_name = 'requirements', record_id = OLD.id, value = OLD.`requirements`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037381,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037601,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16037821,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038041,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038261,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_convictions\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16038618,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_convictions BEFORE UPDATE ON `convictions`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16040973,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_convictions AFTER UPDATE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`type`, 0) <> COALESCE(OLD.`type`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`date_occurred`, 0) <> COALESCE(OLD.`date_occurred`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`bac`, 0) <> COALESCE(OLD.`bac`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`user_answer`, 0) <> COALESCE(OLD.`user_answer`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041413,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_convictions BEFORE INSERT ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16041891,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_convictions AFTER INSERT ON `convictions`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043600,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_convictions BEFORE DELETE ON `convictions`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'type', record_id = OLD.id, value = OLD.`type`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'date_occurred', record_id = OLD.id, value = OLD.`date_occurred`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'bac', record_id = OLD.id, value = OLD.`bac`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'convictions', field_name = 'user_answer', record_id = OLD.id, value = OLD.`user_answer`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16043900,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044115,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044330,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044545,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16044760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_chores\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16045107,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_chores BEFORE UPDATE ON `chores`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048219,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_chores AFTER UPDATE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`child_meals`, 0) <> COALESCE(OLD.`child_meals`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`light_housework`, 0) <> COALESCE(OLD.`light_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`general_housework`, 0) <> COALESCE(OLD.`general_housework`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling`, 0) <> COALESCE(OLD.`housework_unwilling`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`housework_unwilling_details`, 0) <> COALESCE(OLD.`housework_unwilling_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`meal_prep`, 0) <> COALESCE(OLD.`meal_prep`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`accustomed_chores`, 0) <> COALESCE(OLD.`accustomed_chores`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16048649,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_chores BEFORE INSERT ON `chores`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16049112,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_chores AFTER INSERT ON `chores`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051274,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_chores BEFORE DELETE ON `chores`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'child_meals', record_id = OLD.id, value = OLD.`child_meals`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'light_housework', record_id = OLD.id, value = OLD.`light_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'general_housework', record_id = OLD.id, value = OLD.`general_housework`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling', record_id = OLD.id, value = OLD.`housework_unwilling`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'housework_unwilling_details', record_id = OLD.id, value = OLD.`housework_unwilling_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'meal_prep', record_id = OLD.id, value = OLD.`meal_prep`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'chores', field_name = 'accustomed_chores', record_id = OLD.id, value = OLD.`accustomed_chores`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051589,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16051819,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052279,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052509,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_childcare_experiences\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16052886,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_childcare_experiences BEFORE UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057081,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_childcare_experiences AFTER UPDATE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_infants`, 0) <> COALESCE(OLD.`age_infants`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_1_5`, 0) <> COALESCE(OLD.`age_1_5`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_5_10`, 0) <> COALESCE(OLD.`age_5_10`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`age_10_over`, 0) <> COALESCE(OLD.`age_10_over`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`ideal_job`, 0) <> COALESCE(OLD.`ideal_job`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`motivation`, 0) <> COALESCE(OLD.`motivation`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_negatives`, 0) <> COALESCE(OLD.`childcare_negatives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`childcare_positives`, 0) <> COALESCE(OLD.`childcare_positives`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`discipline_with_children`, 0) <> COALESCE(OLD.`discipline_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`activities_with_children`, 0) <> COALESCE(OLD.`activities_with_children`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16057541,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_childcare_experiences BEFORE INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16058049,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_childcare_experiences AFTER INSERT ON `childcare_experiences`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061003,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_childcare_experiences BEFORE DELETE ON `childcare_experiences`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_infants', record_id = OLD.id, value = OLD.`age_infants`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_1_5', record_id = OLD.id, value = OLD.`age_1_5`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_5_10', record_id = OLD.id, value = OLD.`age_5_10`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'age_10_over', record_id = OLD.id, value = OLD.`age_10_over`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'ideal_job', record_id = OLD.id, value = OLD.`ideal_job`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'motivation', record_id = OLD.id, value = OLD.`motivation`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_negatives', record_id = OLD.id, value = OLD.`childcare_negatives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'childcare_positives', record_id = OLD.id, value = OLD.`childcare_positives`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'discipline_with_children', record_id = OLD.id, value = OLD.`discipline_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'childcare_experiences', field_name = 'activities_with_children', record_id = OLD.id, value = OLD.`activities_with_children`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061312,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061536,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061760,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16061984,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062208,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_characteristics\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16062573,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_characteristics BEFORE UPDATE ON `characteristics`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16065700,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_characteristics AFTER UPDATE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`description`, 0) <> COALESCE(OLD.`description`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`interests`, 0) <> COALESCE(OLD.`interests`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`positive_traits`, 0) <> COALESCE(OLD.`positive_traits`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`religion`, 0) <> COALESCE(OLD.`religion`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`smoking_habit`, 0) <> COALESCE(OLD.`smoking_habit`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home`, 0) <> COALESCE(OLD.`lived_from_home`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`lived_from_home_details`, 0) <> COALESCE(OLD.`lived_from_home_details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066148,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_characteristics BEFORE INSERT ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16066638,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_characteristics AFTER INSERT ON `characteristics`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16068857,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_characteristics BEFORE DELETE ON `characteristics`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'description', record_id = OLD.id, value = OLD.`description`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'interests', record_id = OLD.id, value = OLD.`interests`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'positive_traits', record_id = OLD.id, value = OLD.`positive_traits`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'religion', record_id = OLD.id, value = OLD.`religion`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'smoking_habit', record_id = OLD.id, value = OLD.`smoking_habit`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home', record_id = OLD.id, value = OLD.`lived_from_home`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'characteristics', field_name = 'lived_from_home_details', record_id = OLD.id, value = OLD.`lived_from_home_details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069163,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069384,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069605,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16069826,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070047,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_certificates\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16070406,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_certificates BEFORE UPDATE ON `certificates`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16071907,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_certificates AFTER UPDATE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`order_num`, 0) <> COALESCE(OLD.`order_num`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`resume_id`, 0) <> COALESCE(OLD.`resume_id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`details`, 0) <> COALESCE(OLD.`details`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072349,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_certificates BEFORE INSERT ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16072830,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_certificates AFTER INSERT ON `certificates`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16073962,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_certificates BEFORE DELETE ON `certificates`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'order_num', record_id = OLD.id, value = OLD.`order_num`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'resume_id', record_id = OLD.id, value = OLD.`resume_id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'certificates', field_name = 'details', record_id = OLD.id, value = OLD.`details`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074277,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"-- get rid of the existing triggers and replace them with new, up-to-date ones\\n DROP TRIGGER IF EXISTS but_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074507,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS aut_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074737,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bit_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16074967,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS ait_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075197,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"DROP TRIGGER IF EXISTS bdt_log_t_profiles_notification_settings\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16075574,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER but_log_t_profiles_notification_settings BEFORE UPDATE ON `notification_settings`\\n FOR EACH ROW\\n SET NEW._lma = UNIX_TIMESTAMP(NOW());\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16076803,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER aut_log_t_profiles_notification_settings AFTER UPDATE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n IF (COALESCE(NEW.`id`, 0) <> COALESCE(OLD.`id`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`cid`, 0) <> COALESCE(OLD.`cid`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n IF (COALESCE(NEW.`settings`, 0) <> COALESCE(OLD.`settings`, 0)) THEN\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = NEW._lma, staff_id = NEW._lmb, action = 2;\\n END IF;\\n \\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077263,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bit_log_t_profiles_notification_settings BEFORE INSERT ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n IF (NEW._ca IS NULL) THEN\\n SET NEW._ca = UNIX_TIMESTAMP(NOW());\\n END IF;\\n END\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16077771,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER ait_log_t_profiles_notification_settings AFTER INSERT ON `notification_settings`\\n FOR EACH ROW\\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = NEW.id, value = NULL, time = NEW._ca, staff_id = NEW._cb, action = 1;\",\"tableChanges\":[]}\n{\"source\":{\"server\":\"t_profiles\"},\"position\":{\"transaction_id\":null,\"ts_sec\":1663679082,\"file\":\"mysql-bin-changelog.000033\",\"pos\":16078738,\"server_id\":239712215},\"databaseName\":\"t_profiles\",\"ddl\":\"CREATE DEFINER=`okasdwqe_107`@`%` TRIGGER bdt_log_t_profiles_notification_settings BEFORE DELETE ON `notification_settings`\\n FOR EACH ROW\\n BEGIN\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'id', record_id = OLD.id, value = OLD.`id`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'cid', record_id = OLD.id, value = OLD.`cid`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n INSERT INTO `activity_log` SET table_name = 'notification_settings', field_name = 'settings', record_id = OLD.id, value = OLD.`settings`, time = UNIX_TIMESTAMP(), staff_id = OLD._lmb, action = 4;\\n \\n END\",\"tableChanges\":[]}\n","mysql_cdc_offset":{"{\"schema\":null,\"payload\":[\"t_profiles\",{\"server\":\"t_profiles\"}]}":"{\"transaction_id\":null,\"ts_sec\":1663682030,\"file\":\"mysql-bin-changelog.000033\",\"pos\":17424560,\"row\":1,\"server_id\":239712215,\"event\":4}"}}},"streams":[{"stream_name":"activity_log","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"certificates","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"characteristics","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"childcare_experiences","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"chores","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"convictions","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"dietaries","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"education","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"employment_duties","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"employment_history","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"healths","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"language_interests","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"languages","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"licences","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"notification_settings","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"position_preferences","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"qualifications","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"requests","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"resumes","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"skills","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"statuses","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"trip_preferences","stream_namespace":"t_profiles","cursor_field":[]},{"stream_name":"v_profile_summary","stream_namespace":"t_profiles","cursor_field":[]}]}}]],outputCatalog=io.airbyte.protocol.models.ConfiguredAirbyteCatalog@636ba5dc[streams=[io.airbyte.protocol.models.ConfiguredAirbyteStream@6ec78f78[stream=io.airbyte.protocol.models.AirbyteStream@6aa0d244[name=position_preferences,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"cid":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"work_weekends":{"type":"string"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"family_with_pets":{"type":"boolean"},"family_with_2c_up":{"type":"boolean"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"},"family_with_single_parent":{"type":"boolean"},"family_with_special_needs":{"type":"boolean"},"family_with_sole_in_charge":{"type":"boolean"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@4b9a254a[stream=io.airbyte.protocol.models.AirbyteStream@75613ca0[name=employment_history,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"title":{"type":"string"},"company":{"type":"string"},"date_to":{"type":"string"},"website":{"type":"string"},"date_from":{"type":"string"},"order_num":{"type":"number","airbyte_type":"integer"},"resume_id":{"type":"number","airbyte_type":"integer"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@278fc13b[stream=io.airbyte.protocol.models.AirbyteStream@4b51057c[name=employment_duties,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"details":{"type":"string"},"order_num":{"type":"number","airbyte_type":"integer"},"resume_id":{"type":"number","airbyte_type":"integer"},"employment_id":{"type":"number","airbyte_type":"integer"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@51fbd929[stream=io.airbyte.protocol.models.AirbyteStream@2d037b8a[name=dietaries,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"cid":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"requirements":{"type":"string"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"has_requirements":{"type":"boolean"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@74dcf108[stream=io.airbyte.protocol.models.AirbyteStream@37e5700a[name=statuses,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"cid":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"aupair_status":{"type":"string"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"aupair_step_index":{"type":"number","airbyte_type":"integer"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@38d8c54e[stream=io.airbyte.protocol.models.AirbyteStream@eb126f4[name=healths,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"cid":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"type":{"type":"string"},"description":{"type":"string"},"user_answer":{"type":"number","airbyte_type":"integer"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@1df6c29b[stream=io.airbyte.protocol.models.AirbyteStream@10f840f[name=convictions,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"bac":{"type":"number"},"cid":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"type":{"type":"string"},"description":{"type":"string"},"user_answer":{"type":"number","airbyte_type":"integer"},"date_occurred":{"type":"number","airbyte_type":"integer"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@7f83d3d5[stream=io.airbyte.protocol.models.AirbyteStream@7882cc57[name=licences,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"details":{"type":"string"},"order_num":{"type":"number","airbyte_type":"integer"},"resume_id":{"type":"number","airbyte_type":"integer"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@53cb3bc6[stream=io.airbyte.protocol.models.AirbyteStream@2e19f24c[name=skills,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"details":{"type":"string"},"order_num":{"type":"number","airbyte_type":"integer"},"resume_id":{"type":"number","airbyte_type":"integer"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@4fe59121[stream=io.airbyte.protocol.models.AirbyteStream@216b1cfe[name=qualifications,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"cid":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"first_aid":{"type":"boolean"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"},"international_drivers_license":{"type":"string"},"international_drivers_license_date":{"type":"number","airbyte_type":"integer"},"international_drivers_license_type":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@2bf4161e[stream=io.airbyte.protocol.models.AirbyteStream@4a9e0abe[name=childcare_experiences,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"cid":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"age_1_5":{"type":"string"},"age_5_10":{"type":"string"},"ideal_job":{"type":"string"},"motivation":{"type":"string"},"age_10_over":{"type":"string"},"age_infants":{"type":"string"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"},"childcare_negatives":{"type":"string"},"childcare_positives":{"type":"string"},"activities_with_children":{"type":"string"},"discipline_with_children":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@2911e655[stream=io.airbyte.protocol.models.AirbyteStream@50648365[name=certificates,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"details":{"type":"string"},"order_num":{"type":"number","airbyte_type":"integer"},"resume_id":{"type":"number","airbyte_type":"integer"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@5bab3b91[stream=io.airbyte.protocol.models.AirbyteStream@615a01a0[name=requests,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"type":{"type":"string"},"resume_id":{"type":"number","airbyte_type":"integer"},"description":{"type":"string"},"requested_at":{"type":"number","airbyte_type":"integer"},"requested_by":{"type":"string"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@47df6090[stream=io.airbyte.protocol.models.AirbyteStream@3354aca5[name=chores,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"cid":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"meal_prep":{"type":"string"},"child_meals":{"type":"boolean"},"_ab_cdc_log_pos":{"type":"number"},"light_housework":{"type":"boolean"},"_ab_cdc_log_file":{"type":"string"},"accustomed_chores":{"type":"string"},"general_housework":{"type":"string"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"},"housework_unwilling":{"type":"boolean"},"housework_unwilling_details":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@31216eed[stream=io.airbyte.protocol.models.AirbyteStream@c73e68[name=language_interests,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"cid":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"has_other":{"type":"boolean"},"other_interest":{"type":"boolean"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@3c201500[stream=io.airbyte.protocol.models.AirbyteStream@2a87b7a5[name=activity_log,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"time":{"type":"number","airbyte_type":"integer"},"value":{"type":"string"},"action":{"type":"number","airbyte_type":"integer"},"staff_id":{"type":"number","airbyte_type":"integer"},"record_id":{"type":"number","airbyte_type":"integer"},"field_name":{"type":"string"},"table_name":{"type":"string"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@10ebe21e[stream=io.airbyte.protocol.models.AirbyteStream@2966aa15[name=resumes,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"cid":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"email":{"type":"string"},"phone":{"type":"string"},"skype":{"type":"string"},"status":{"type":"string"},"last_name":{"type":"string"},"first_name":{"type":"string"},"objectives":{"type":"string"},"phone_code":{"type":"string"},"step_index":{"type":"number","airbyte_type":"integer"},"middle_name":{"type":"string"},"date_created":{"type":"string"},"introduction":{"type":"string"},"date_modified":{"type":"string"},"s3_resume_pic":{"type":"string"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@1552222c[stream=io.airbyte.protocol.models.AirbyteStream@27f85bc[name=characteristics,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"cid":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"religion":{"type":"string"},"interests":{"type":"string"},"description":{"type":"string"},"smoking_habit":{"type":"string"},"_ab_cdc_log_pos":{"type":"number"},"lived_from_home":{"type":"boolean"},"positive_traits":{"type":"string"},"_ab_cdc_log_file":{"type":"string"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"},"lived_from_home_details":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@4dcb6cff[stream=io.airbyte.protocol.models.AirbyteStream@51615151[name=education,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"title":{"type":"string"},"date_to":{"type":"string"},"date_from":{"type":"string"},"order_num":{"type":"number","airbyte_type":"integer"},"resume_id":{"type":"number","airbyte_type":"integer"},"institution":{"type":"string"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@55a64a13[stream=io.airbyte.protocol.models.AirbyteStream@2b0a777e[name=v_profile_summary,jsonSchema={"type":"object","properties":{"cid":{"type":"number","airbyte_type":"integer"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"chores_meal_prep":{"type":"string"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"},"chores_child_meals":{"type":"boolean"},"chores_light_housework":{"type":"boolean"},"dietaries_requirements":{"type":"string"},"statuses_aupair_status":{"type":"string"},"characteristics_religion":{"type":"string"},"chores_accustomed_chores":{"type":"string"},"chores_general_housework":{"type":"string"},"qualifications_first_aid":{"type":"boolean"},"characteristics_interests":{"type":"string"},"chores_housework_unwilling":{"type":"boolean"},"dietaries_has_requirements":{"type":"boolean"},"statuses_aupair_step_index":{"type":"number","airbyte_type":"integer"},"characteristics_description":{"type":"string"},"language_interests_has_other":{"type":"boolean"},"characteristics_smoking_habit":{"type":"string"},"childcare_experiences_age_1_5":{"type":"string"},"childcare_experiences_age_5_10":{"type":"string"},"characteristics_lived_from_home":{"type":"boolean"},"characteristics_positive_traits":{"type":"string"},"childcare_experiences_ideal_job":{"type":"string"},"trip_preferences_stay_12_months":{"type":"boolean"},"childcare_experiences_motivation":{"type":"string"},"childcare_experiences_age_10_over":{"type":"string"},"childcare_experiences_age_infants":{"type":"string"},"language_interests_other_interest":{"type":"boolean"},"trip_preferences_departure_latest":{"type":"number","airbyte_type":"integer"},"chores_housework_unwilling_details":{"type":"string"},"position_preferences_work_weekends":{"type":"string"},"trip_preferences_departure_earliest":{"type":"number","airbyte_type":"integer"},"position_preferences_family_with_pets":{"type":"boolean"},"position_preferences_family_with_2c_up":{"type":"boolean"},"characteristics_lived_from_home_details":{"type":"string"},"childcare_experiences_childcare_negatives":{"type":"string"},"childcare_experiences_childcare_positives":{"type":"string"},"qualifications_international_drivers_license":{"type":"string"},"childcare_experiences_activities_with_children":{"type":"string"},"childcare_experiences_discipline_with_children":{"type":"string"},"position_preferences_family_with_single_parent":{"type":"boolean"},"position_preferences_family_with_special_needs":{"type":"boolean"},"position_preferences_family_with_sole_in_charge":{"type":"boolean"},"qualifications_international_drivers_license_type":{"type":"string"}}},supportedSyncModes=[full_refresh],sourceDefinedCursor=,defaultCursorField=[],sourceDefinedPrimaryKey=[],namespace=t_profiles,additionalProperties={}],syncMode=full_refresh,cursorField=[],destinationSyncMode=overwrite,primaryKey=[],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@3db05a74[stream=io.airbyte.protocol.models.AirbyteStream@66807f4a[name=trip_preferences,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"cid":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"stay_12_months":{"type":"boolean"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"departure_latest":{"type":"number","airbyte_type":"integer"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"},"departure_earliest":{"type":"number","airbyte_type":"integer"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@111575b[stream=io.airbyte.protocol.models.AirbyteStream@79586180[name=notification_settings,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"cid":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"settings":{"type":"string"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@4604e725[stream=io.airbyte.protocol.models.AirbyteStream@231baa80[name=languages,jsonSchema={"type":"object","properties":{"id":{"type":"number","airbyte_type":"integer"},"_ca":{"type":"number","airbyte_type":"integer"},"_cb":{"type":"number","airbyte_type":"integer"},"cid":{"type":"number","airbyte_type":"integer"},"_lma":{"type":"number","airbyte_type":"integer"},"_lmb":{"type":"number","airbyte_type":"integer"},"fluency":{"type":"string"},"language":{"type":"string"},"_ab_cdc_log_pos":{"type":"number"},"_ab_cdc_log_file":{"type":"string"},"_ab_cdc_deleted_at":{"type":"string"},"_ab_cdc_updated_at":{"type":"string"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=t_profiles,additionalProperties={}],syncMode=incremental,cursorField=[],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}]],additionalProperties={}],failures=[]] 2022-09-20 14:07:49 INFO i.a.w.t.TemporalUtils(withBackgroundHeartbeat):279 - Stopping temporal heartbeating...