fix: align proof, treatment, metrics and site videos with PDF
All checks were successful
Build and deploy / Validate source (push) Successful in 11s
Build and deploy / Integration suite on a real stack (push) Successful in 5m44s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Successful in 1m22s
All checks were successful
Build and deploy / Validate source (push) Successful in 11s
Build and deploy / Integration suite on a real stack (push) Successful in 5m44s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Successful in 1m22s
This commit is contained in:
@@ -325,6 +325,20 @@ CREATE TABLE IF NOT EXISTS dtf_local.stage_limits (
|
||||
updated_by text NOT NULL DEFAULT 'sistema',
|
||||
updated_at timestamptz NOT NULL DEFAULT now()
|
||||
);
|
||||
-- Videos are uploaded by Gestão; the Site reads only enabled, scanned files.
|
||||
CREATE TABLE IF NOT EXISTS dtf_local.site_videos (
|
||||
id text PRIMARY KEY CHECK (id IN ('subindo','nota','png','avulsas','retirada','sala')),
|
||||
upload_id uuid REFERENCES dtf_local.uploads(id),
|
||||
captions_id uuid REFERENCES dtf_local.uploads(id),
|
||||
video_key text,
|
||||
captions_key text,
|
||||
product text CHECK (product IN ('file','avulsa','uvfile','uv')),
|
||||
enabled boolean NOT NULL DEFAULT false,
|
||||
updated_by text NOT NULL DEFAULT 'sistema',
|
||||
updated_at timestamptz NOT NULL DEFAULT now()
|
||||
);
|
||||
ALTER TABLE dtf_local.site_videos ADD COLUMN IF NOT EXISTS video_key text;
|
||||
ALTER TABLE dtf_local.site_videos ADD COLUMN IF NOT EXISTS captions_key text;
|
||||
INSERT INTO dtf_local.stage_limits(state,hours,responsible) VALUES
|
||||
('rec',2,'Designer'), ('tra',6,'Operador'), ('imp',4,'Operador'),
|
||||
('rev',2,'Revisor'), ('fin',72,'Atendimento')
|
||||
|
||||
Reference in New Issue
Block a user