I have the following table:
CREATE TABLE child(
id INTEGER PRIMARY KEY,
parent_id INTEGER,
description TEXT); How to add foreign key constraints on parent_id? Assume that foreign keys are enabled.
Most examples assume that you are creating a table-I want to add constraints to an existing table.