mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-23 03:51:36 +03:00
Fix seed-demo command (#8866)
## Context Fix seed demo command since we added a subdomain non-nullable column we needed to update the command to fill that info for the demo workspace
This commit is contained in:
parent
743169a260
commit
c735026f6c
@ -18,6 +18,7 @@ export const seedWorkspaces = async (
|
|||||||
'domainName',
|
'domainName',
|
||||||
'inviteHash',
|
'inviteHash',
|
||||||
'logo',
|
'logo',
|
||||||
|
'subdomain',
|
||||||
'activationStatus',
|
'activationStatus',
|
||||||
])
|
])
|
||||||
.orIgnore()
|
.orIgnore()
|
||||||
@ -28,6 +29,7 @@ export const seedWorkspaces = async (
|
|||||||
domainName: 'demo.dev',
|
domainName: 'demo.dev',
|
||||||
inviteHash: 'demo.dev-invite-hash',
|
inviteHash: 'demo.dev-invite-hash',
|
||||||
logo: 'https://twentyhq.github.io/placeholder-images/workspaces/apple-logo.png',
|
logo: 'https://twentyhq.github.io/placeholder-images/workspaces/apple-logo.png',
|
||||||
|
subdomain: 'demo',
|
||||||
activationStatus: WorkspaceActivationStatus.ACTIVE,
|
activationStatus: WorkspaceActivationStatus.ACTIVE,
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
|
Loading…
Reference in New Issue
Block a user