Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

fix admin_permissions tables conditions column #40

Merged
merged 1 commit into from
Sep 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion v3-sql-v4-sql/migrate/helpers/adminHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async function migrateAdminPermissions() {
action: migrateUids(item.action),
subject: migrateSubject(item.subject),
properties: migrateProperties(item.properties),
conditions: JSON.stringify(item.conditions),
conditions: item.conditions,
}));
const roleLinks = items.map((item) => ({
permission_id: item.id,
Expand Down