Best practice for adding properties to User entity?

I'm looking at adding a property called isCreator to the existing user entity that comes with OpenSaaS, but when I do it and attempt to migrate the db I get this error

[  Wasp  ] ext-src/server/scripts/usersSeed.ts(10,9): error TS2741: Property 'isCreator' is missing in type '{ email: string; username: string; createdAt: Date; lastActiveTimestamp: Date; isAdmin: false; stripeId: string; sendEmail: false; subscriptionStatus: string; datePaid: Date; credits: number; checkoutSessionId: null; subscriptionTier: TierIds; }' but required in type 'Omit<GetResult<{ id: number; email: string; username: string; createdAt: Date; lastActiveTimestamp: Date; isAdmin: boolean; stripeId: string; checkoutSessionId: string; subscriptionTier: string; ... 4 more ...; isCreator: boolean; }, unknown> & {}, "id">'.


I'm sure it's something I've done wrong as I am not to familiar with prisma!
Was this page helpful?