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:
Weiko 2024-12-04 11:24:48 +01:00 committed by GitHub
parent 743169a260
commit c735026f6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,
}, },
]) ])