mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 14:46:37 +02:00
Merge remote-tracking branch 'origin/staging' into develop
This commit is contained in:
commit
b14b8f794a
2 changed files with 8 additions and 2 deletions
|
@ -1,5 +1,11 @@
|
||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 2.0.1
|
||||||
|
|
||||||
|
### :bug: Bugs fixed
|
||||||
|
|
||||||
|
- Fix different issues related to components v2 migrations including [Github #4443](https://github.com/penpot/penpot/issues/4443)
|
||||||
|
|
||||||
## 2.0.0 - I Just Can't Get Enough
|
## 2.0.0 - I Just Can't Get Enough
|
||||||
|
|
||||||
### :rocket: Epics and highlights
|
### :rocket: Epics and highlights
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
row_number() OVER (ORDER BY created_at DESC) AS rown
|
row_number() OVER (ORDER BY created_at DESC) AS rown
|
||||||
FROM team
|
FROM team
|
||||||
WHERE deleted_at IS NULL
|
WHERE deleted_at IS NULL
|
||||||
AND (features <@ '{components/v2}' OR features IS NULL)
|
AND (not (features @> '{components/v2}') OR features IS NULL)
|
||||||
ORDER BY created_at DESC")
|
ORDER BY created_at DESC")
|
||||||
|
|
||||||
(defn- get-teams
|
(defn- get-teams
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
;; Run teams migration
|
;; Run teams migration
|
||||||
(run! (fn [{:keys [id rown]}]
|
(run! (fn [{:keys [id rown]}]
|
||||||
(try
|
(try
|
||||||
(-> (assoc system ::db/rollback true)
|
(-> (assoc system ::db/rollback false)
|
||||||
(feat/migrate-team! id
|
(feat/migrate-team! id
|
||||||
:rown rown
|
:rown rown
|
||||||
:label "v2-migration"
|
:label "v2-migration"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue