🎨 fix seeder
This commit is contained in:
parent
08f2b0ea02
commit
adea3c3a03
@ -47,6 +47,8 @@ import {
|
|||||||
|
|
||||||
const uidAddress1: string = randomString();
|
const uidAddress1: string = randomString();
|
||||||
const uidAddress2: string = randomString();
|
const uidAddress2: string = randomString();
|
||||||
|
const uidAddress3: string = randomString();
|
||||||
|
const uidAddress4: string = randomString();
|
||||||
|
|
||||||
const uidOffice1: string = randomString();
|
const uidOffice1: string = randomString();
|
||||||
const uidOffice2: string = randomString();
|
const uidOffice2: string = randomString();
|
||||||
@ -124,6 +126,22 @@ import {
|
|||||||
created_at: new Date(),
|
created_at: new Date(),
|
||||||
updated_at: new Date(),
|
updated_at: new Date(),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
uid: uidAddress3,
|
||||||
|
address: "Rue Pierre Charles",
|
||||||
|
city: "Paris",
|
||||||
|
zip_code: 75003,
|
||||||
|
created_at: new Date(),
|
||||||
|
updated_at: new Date(),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
uid: uidAddress4,
|
||||||
|
address: "Rue Pierre Pologne",
|
||||||
|
city: "Paris",
|
||||||
|
zip_code: 75003,
|
||||||
|
created_at: new Date(),
|
||||||
|
updated_at: new Date(),
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
const contacts: Contacts[] = [
|
const contacts: Contacts[] = [
|
||||||
@ -155,7 +173,7 @@ import {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
uid: uidContact3,
|
uid: uidContact3,
|
||||||
address_uid: uidAddress2,
|
address_uid: uidAddress3,
|
||||||
first_name: "Maitre Marcelino",
|
first_name: "Maitre Marcelino",
|
||||||
last_name: "Jack",
|
last_name: "Jack",
|
||||||
email: "Marcelino.Jack@example.com",
|
email: "Marcelino.Jack@example.com",
|
||||||
@ -168,7 +186,7 @@ import {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
uid: uidContact4,
|
uid: uidContact4,
|
||||||
address_uid: uidAddress2,
|
address_uid: uidAddress4,
|
||||||
first_name: "Maitre Massi",
|
first_name: "Maitre Massi",
|
||||||
last_name: "Jack",
|
last_name: "Jack",
|
||||||
email: "Massi.Jack@example.com",
|
email: "Massi.Jack@example.com",
|
||||||
@ -537,4 +555,4 @@ import {
|
|||||||
}
|
}
|
||||||
|
|
||||||
console.log(">MOCK DATA - Seeding completed!");
|
console.log(">MOCK DATA - Seeding completed!");
|
||||||
})();
|
})();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user