-- parent_id should not NOT NULL and should not have a DEFAULT 

ALTER TABLE topic ALTER parent_id DROP NOT NULL;
ALTER TABLE topic ALTER parent_id DROP DEFAULT;

