* feat: seed companies and people data * init DataSeedDemoWorkspaceCommand to handle: - seedCoreSchema() - seedMetadataSchema() * feature: Seed workspace with demo data - delete workspace - initDemo() with prefillWorkspaceWithDemoObjects() * added companies-demo.ts with data * added people-demo.ts with data * added workspaceId to seedFeatureFlags() * delete previous CoreSchema before seedCoreSchema * added workspaceMemberPrefillData * getDemoWorkspaces() to get DEMO_WORKSPACES from config * defined DemoSeedUserIds - created core/demo/ to keep modified seedCoreSchema() there - DemoSeedUserIds with new set of users and Ids * generateOpportunities() to seed demo opportunities (limit = 50) * Code review and fixes * Fix --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -30,3 +30,4 @@ SIGN_IN_PREFILLED=true
|
||||
# MESSAGE_QUEUE_TYPE=pg-boss
|
||||
# REDIS_HOST=127.0.0.1
|
||||
# REDIS_PORT=6379
|
||||
# DEMO_WORKSPACE_IDS=REPLACE_ME_WITH_A_RANDOM_UUID
|
||||
|
||||
Reference in New Issue
Block a user