CREATE TABLE IF NOT EXISTS project_member_join_settings (
    id BIGSERIAL PRIMARY KEY,
    project UUID NOT NULL,
    require_approval BOOLEAN NOT NULL DEFAULT false,
    require_questions BOOLEAN NOT NULL DEFAULT false,
    questions JSONB NOT NULL,
    created_at TIMESTAMPTZ NOT NULL,
    updated_at TIMESTAMPTZ NOT NULL
);
