mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-29 01:38:18 +03:00
Change demo account email (#7177)
Change the demo account's email to be able to set SIGN_IN_PREFIL = true on demo.twenty.com
This commit is contained in:
parent
0aa48fb1e4
commit
f845187f8e
@ -24,7 +24,7 @@ export const seedUserWorkspaces = async (
|
||||
workspaceId: workspaceId,
|
||||
},
|
||||
{
|
||||
userId: DEMO_SEED_USER_IDS.JULIA,
|
||||
userId: DEMO_SEED_USER_IDS.TIM,
|
||||
workspaceId: workspaceId,
|
||||
},
|
||||
])
|
||||
|
@ -7,7 +7,7 @@ const tableName = 'user';
|
||||
export const DEMO_SEED_USER_IDS = {
|
||||
NOAH: '20202020-9e3b-46d4-a556-88b9ddc2b035',
|
||||
HUGO: '20202020-3957-4908-9c36-2929a23f8358',
|
||||
JULIA: '20202020-7169-42cf-bc47-1cfef15264b9',
|
||||
TIM: '20202020-7169-42cf-bc47-1cfef15264b9',
|
||||
};
|
||||
|
||||
export const seedUsers = async (
|
||||
@ -47,10 +47,10 @@ export const seedUsers = async (
|
||||
defaultWorkspaceId: workspaceId,
|
||||
},
|
||||
{
|
||||
id: DEMO_SEED_USER_IDS.JULIA,
|
||||
firstName: 'Julia',
|
||||
lastName: 'S',
|
||||
email: 'julia.s@demo.dev',
|
||||
id: DEMO_SEED_USER_IDS.TIM,
|
||||
firstName: 'Tim',
|
||||
lastName: 'Apple',
|
||||
email: 'tim@apple.dev',
|
||||
passwordHash:
|
||||
'$2b$10$66d.6DuQExxnrfI9rMqOg.U1XIYpagr6Lv05uoWLYbYmtK0HDIvS6', // Applecar2025
|
||||
defaultWorkspaceId: workspaceId,
|
||||
|
@ -5,7 +5,7 @@ import { DEMO_SEED_USER_IDS } from 'src/database/typeorm-seeds/core/demo/users';
|
||||
export const DEMO_SEED_WORKSPACE_MEMBER_IDS = {
|
||||
NOAH: '20202020-0687-4c41-b707-ed1bfca972a2',
|
||||
HUGO: '20202020-77d5-4cb6-b60a-f4a835a85d62',
|
||||
JULIA: '20202020-1553-45c6-a028-5a9064cce07e',
|
||||
TIM: '20202020-1553-45c6-a028-5a9064cce07e',
|
||||
};
|
||||
|
||||
export const workspaceMemberPrefillData = async (
|
||||
@ -42,12 +42,12 @@ export const workspaceMemberPrefillData = async (
|
||||
userId: DEMO_SEED_USER_IDS.HUGO,
|
||||
},
|
||||
{
|
||||
id: DEMO_SEED_WORKSPACE_MEMBER_IDS.JULIA,
|
||||
nameFirstName: 'Julia',
|
||||
nameLastName: 'S',
|
||||
id: DEMO_SEED_WORKSPACE_MEMBER_IDS.TIM,
|
||||
nameFirstName: 'Tim',
|
||||
nameLastName: 'Apple',
|
||||
locale: 'en',
|
||||
colorScheme: 'Light',
|
||||
userId: DEMO_SEED_USER_IDS.JULIA,
|
||||
userId: DEMO_SEED_USER_IDS.TIM,
|
||||
},
|
||||
])
|
||||
.execute();
|
||||
|
Loading…
Reference in New Issue
Block a user