Resolve bugs tied to record creations on table (#4011)
* Resolve bugs tied to record creations on table * Fix according to PR * Fix tests
This commit is contained in:
@ -12,6 +12,7 @@ export const companyPrefillData = async (
|
||||
'domainName',
|
||||
'address',
|
||||
'employees',
|
||||
'position',
|
||||
])
|
||||
.orIgnore()
|
||||
.values([
|
||||
@ -20,30 +21,35 @@ export const companyPrefillData = async (
|
||||
domainName: 'airbnb.com',
|
||||
address: 'San Francisco',
|
||||
employees: 5000,
|
||||
position: 1,
|
||||
},
|
||||
{
|
||||
name: 'Qonto',
|
||||
domainName: 'qonto.com',
|
||||
address: 'San Francisco',
|
||||
employees: 800,
|
||||
position: 2,
|
||||
},
|
||||
{
|
||||
name: 'Stripe',
|
||||
domainName: 'stripe.com',
|
||||
address: 'San Francisco',
|
||||
employees: 8000,
|
||||
position: 3,
|
||||
},
|
||||
{
|
||||
name: 'Figma',
|
||||
domainName: 'figma.com',
|
||||
address: 'San Francisco',
|
||||
employees: 800,
|
||||
position: 4,
|
||||
},
|
||||
{
|
||||
name: 'Notion',
|
||||
domainName: 'notion.com',
|
||||
address: 'San Francisco',
|
||||
employees: 400,
|
||||
position: 5,
|
||||
},
|
||||
])
|
||||
.returning('*')
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user