Skip to content

Commit

Permalink
Upgrade strapi and make identification number unique
Browse files Browse the repository at this point in the history
  • Loading branch information
cipick committed Jul 17, 2023
1 parent 210db3f commit 1f46464
Show file tree
Hide file tree
Showing 3 changed files with 195 additions and 196 deletions.
8 changes: 4 additions & 4 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"strapi": "strapi"
},
"dependencies": {
"@strapi/plugin-i18n": "4.11.4",
"@strapi/plugin-users-permissions": "4.11.4",
"@strapi/provider-email-amazon-ses": "4.11.4",
"@strapi/strapi": "4.11.4",
"@strapi/plugin-i18n": "4.11.5",
"@strapi/plugin-users-permissions": "4.11.5",
"@strapi/provider-email-amazon-ses": "4.11.5",
"@strapi/strapi": "4.11.5",
"better-sqlite3": "8.0.1",
"pg": "^8.10.0",
"strapi-plugin-email-designer": "^2.1.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
"displayName": "User"
},
"options": {
"draftAndPublish": false,
"timestamps": true
"draftAndPublish": false
},
"attributes": {
"username": {
Expand Down Expand Up @@ -83,7 +82,8 @@
},
"ongIdentificationNumber": {
"type": "string",
"required": true
"required": true,
"unique": true
},
"county": {
"type": "string",
Expand Down Expand Up @@ -156,12 +156,5 @@
"target": "api::domain.domain",
"mappedBy": "users"
}
},
"config": {
"attributes": {
"resetPasswordToken": {
"hidden": true
}
}
}
}
Loading

1 comment on commit 1f46464

@vercel
Copy link

@vercel vercel bot commented on 1f46464 Jul 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.