chore: New standard fields on People (#1104)

* Add New standard fields on People

Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>

* Add requested changes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>

---------

Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
This commit is contained in:
gitstart-twenty
2023-08-10 02:36:03 +08:00
committed by GitHub
parent b557766eb0
commit fc17a0639a
15 changed files with 196 additions and 22 deletions

View File

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "people" ADD COLUMN "twitterUrl" TEXT;

View File

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "people" RENAME COLUMN "twitterUrl" TO "xUrl";

View File

@ -266,6 +266,9 @@ model Person {
linkedinUrl String?
/// @Validator.IsString()
/// @Validator.IsOptional()
xUrl String?
/// @Validator.IsString()
/// @Validator.IsOptional()
jobTitle String?
/// @Validator.IsString()
/// @Validator.IsOptional()