CREATE TABLE IF NOT EXISTS jobs (
    job_no VARCHAR(50) PRIMARY KEY,
    job_name VARCHAR(200) NOT NULL,
    client_name VARCHAR(100) NOT NULL,
    end_user VARCHAR(100),
    epc_company VARCHAR(100),
    project_site VARCHAR(200),
    contract_date DATE,
    delivery_date DATE,
    delivery_terms VARCHAR(100),
    status VARCHAR(20) DEFAULT '진행중',
    delivery_completed_date DATE,
    project_closed_date DATE,
    description TEXT,
    created_by VARCHAR(50),
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    is_active BOOLEAN DEFAULT true
);
