Add seeds and move to uuid (#80)

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Charles Bochet
2023-04-26 16:42:01 +02:00
committed by GitHub
parent 5aec7ca730
commit 6c7eb53333
38 changed files with 523 additions and 5935 deletions

View File

@ -21,7 +21,7 @@ export const reduceSortsToOrderBy = (
acc['firstname'] = order;
acc['lastname'] = order;
} else if (id === 'company_name') {
acc['company'] = { company_name: order };
acc['company'] = { name: order };
} else {
acc[id] = order;
}
@ -42,8 +42,8 @@ export const GET_PEOPLE = gql`
created_at
company {
id
company_name
company_domain
name
domain_name
}
}
}