ALTER TABLE samples
    ADD COLUMN quantity INTEGER,
    ADD COLUMN date_processed timestamp with time zone,
    ADD COLUMN status VARCHAR;

UPDATE samples SET quantity = 1, status = 'processed', date_processed = NOW();

ALTER TABLE samples
    ALTER COLUMN quantity SET NOT NULL,
    ALTER COLUMN status SET NOT NULL;
