mirror of
https://github.com/penpot/penpot.git
synced 2025-07-30 14:39:03 +02:00
♻️ Refactor field name
This commit is contained in:
parent
b464181213
commit
d9aa94025a
3 changed files with 8 additions and 4 deletions
|
@ -96,7 +96,7 @@
|
|||
(retrieve-all-projects conn profile-id)))
|
||||
|
||||
(def sql:all-projects
|
||||
"select p1.*, t.name as team_name, t.is_default as default_team
|
||||
"select p1.*, t.name as team_name, t.is_default as is_default_team
|
||||
from project as p1
|
||||
inner join team as t
|
||||
on t.id = p1.team_id
|
||||
|
@ -108,7 +108,7 @@
|
|||
tpr.is_admin = true))
|
||||
and p1.deleted_at is null
|
||||
union
|
||||
select p2.*, t.name as team_name, t.is_default as default_team
|
||||
select p2.*, t.name as team_name, t.is_default as is_default_team
|
||||
from project as p2
|
||||
inner join team as t
|
||||
on t.id = p2.team_id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue