Skip to content

Commit

Permalink
fix example document
Browse files Browse the repository at this point in the history
  • Loading branch information
vahidalizad authored Sep 7, 2024
1 parent 49297bc commit 3f93984
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,19 @@ const allSchema = [
},
];

const results = await manageSchema(allSchemas, {commit:false,remove:false,purge:false},
{
fields: false,
indexes: false,
classLevelPermissions: false,
} , {
ignoreClasses: ["_User", "_Role", "_Session"]
ignoreAttributes: ["createdAt", "updatedAt"];
});
const results = await manageSchema(
allSchemas,
{commit:false,remove:false,purge:false},
{
fields: true,
indexes: true,
classLevelPermissions: true,
},
{
ignoreClasses: ["_User", "_Role", "_Session"],
ignoreAttributes: ["createdAt", "updatedAt"]
}
);
console.log(results);
```

Expand Down

0 comments on commit 3f93984

Please sign in to comment.