-- +goose Up
-- +goose StatementBegin
CREATE TABLE IF NOT EXISTS "Incoming" (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    incident_number TEXT,
    description TEXT,
    short_description TEXT,
    urgency TEXT,
    impact TEXT,
    state TEXT,
    external_id TEXT,
    work_notes TEXT,
    assignment_group TEXT,
    assigned_to TEXT,
    category TEXT,
    subcategory TEXT,
    created_at DATETIME DEFAULT CURRENT_TIMESTAMP    
);
-- +goose StatementEnd

-- +goose Down
-- +goose StatementBegin
DROP TABLE IF EXISTS "Incoming";
-- +goose StatementEnd
