coder/coderd/database/migrations/000022_template_created_by....

2 lines
110 B
SQL

ALTER TABLE ONLY templates ADD COLUMN IF NOT EXISTS created_by uuid REFERENCES users (id) ON DELETE RESTRICT;