mirror of
https://github.com/penpot/penpot.git
synced 2025-07-17 19:37:12 +02:00
6 lines
No EOL
195 B
SQL
6 lines
No EOL
195 B
SQL
ALTER TABLE webhook
|
|
ADD COLUMN profile_id uuid NULL REFERENCES profile (id) ON DELETE SET NULL;
|
|
|
|
CREATE INDEX webhook__profile_id__idx
|
|
ON webhook (profile_id)
|
|
WHERE profile_id IS NOT NULL; |