
CREATE TABLE sync_frm_data_queues  (
  id varchar(255) PRIMARY KEY NOT NULL,
  created_time timestamp NOT NULL,
  data text  NOT NULL,
  file_sync_result text NULL,
  file_sync_status int NOT NULL,
  form_sync_config text NOT NULL,
  form_sync_id varchar(100)  NOT NULL,
  last_file_processed_time timestamp NULL DEFAULT NULL,
  last_processed_time timestamp NULL DEFAULT NULL,
  name varchar(200) ,
  need_sync_file bool NOT NULL,
  result text ,
  retry_count int NOT NULL,
  short_result varchar(800) ,
  status int NOT NULL,
  thirdPartyExecutedTime timestamp NULL DEFAULT NULL,
  third_party_reference_id varchar(50)  NULL DEFAULT NULL,
  third_party_result varchar(1000)  NULL DEFAULT NULL,
  third_party_executed_time timestamp NULL DEFAULT NULL,
  size int NOT NULL,
  archived_time timestamp NULL DEFAULT NULL,
  is_archived bool NOT NULL,
  third_party_callback text  NULL,
  third_party_tracking text  NULL
);
