Project

General

Profile

Actions

CompressPdf #468

open

Database: Create Output Table

Added by Zahid Hassan over 1 year ago. Updated over 1 year ago.

Status:
Complete
Priority:
High
Assignee:
Category:
feature
Target version:
Start date:
09/29/2024
Due date:
09/29/2024 (about 19 months late)
% Done:

100%

Estimated time:
8:00 h

Description

Description:

We need to create a new table named output in our database. This table will play a crucial role in storing processed data and should be properly connected to other relevant tables to ensure seamless data flow. This table will be used to display file sizes before and after processing, compression ratios, compression time in the download page.

Tasks:

Create Table:

  • Define the schema for the output table, including necessary columns.
  • Ensure that it can store all required data fields.

Establish Relationships:

  • Define foreign key relationships between the output table and other relevant tables.
  • Ensure data integrity across these connections.

Update Data Processing Code:

  • Modify existing code to ensure that data is correctly inserted into the new output table during processing.

Details:

Table Name: output
Suggested Columns: id, uid_fk, file_index, file_name, file_path, input_file_size, output_file_size, compression_ratio, processing_time
Key Relationships: The output table is connected to the token table through the uid_fk foreign key.

Actions

Also available in: Atom PDF