CREATE TABLE ohs_jsa_training (
    id SERIAL,
    jsa_id INTEGER NOT NULL,
    employee_id INTEGER NOT NULL,
    trained_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    tenant_id INTEGER DEFAULT NULL,
    branch_id INTEGER DEFAULT NULL,
    isDeleted BOOLEAN NOT NULL DEFAULT FALSE,
    updatedAt TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
    PRIMARY KEY (id)
);
CREATE INDEX ohs_jsa_training_jsa_idx ON ohs_jsa_training(jsa_id);
