TRUNCATE TABLE workouts CASCADE; ALTER TABLE workouts ADD COLUMN user_id UUID NOT NULL REFERENCES users(id) ON DELETE CASCADE;