mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 00:40:30 -05:00
9 lines
231 B
SQL
9 lines
231 B
SQL
ALTER TABLE file
|
|
ADD COLUMN is_shared BOOLEAN NOT NULL DEFAULT false;
|
|
|
|
UPDATE file
|
|
SET is_shared = true
|
|
WHERE project_id IN (SELECT id
|
|
FROM project
|
|
WHERE team_id = uuid_nil());
|
|
|