mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-01 02:54:52 +00:00
Update user schema and forms to include address and consent fields
- Replaced 'house_name' with 'address' in user schema and related files. - Added new fields for terms and privacy policy acceptance in the signup form schema. - Updated package.json and package-lock.json to include @radix-ui/react-checkbox for checkbox functionality. - Modified seed script to reflect changes in the user model.
This commit is contained in:
@ -12,7 +12,7 @@ async function main() {
|
||||
emailVerified: false,
|
||||
firstPaymentDone: false,
|
||||
verified: false,
|
||||
house_name: faker.location.streetAddress(),
|
||||
address: faker.location.streetAddress(),
|
||||
id_card: `A${Math.round(Math.random() * 999999)}`,
|
||||
dob: faker.date.between({
|
||||
from: "1900-01-01",
|
||||
|
Reference in New Issue
Block a user