checkpoint: fix ManagedLinkedResource sql errors