@@ -11,8 +11,9 @@ class ContactsTableSeeder extends Seeder
1111 public function run (): void
1212 {
1313 Contact::updateOrCreate (
14- ['name ' => ' Sebastian Bürgin-Fix ' ],
14+ ['id ' => 1 ],
1515 [
16+ 'name ' => 'Sebastian Bürgin-Fix ' ,
1617 'published ' => true ,
1718 'sections ' => [
1819 ContactSectionEnum::EMPLOYEE_SERVICES => [
@@ -29,12 +30,6 @@ public function run(): void
2930 'en_CH ' => 'Software-Engineer ' ,
3031 ],
3132 ],
32- ContactSectionEnum::COLLABORATIONS => [
33- 'key ' => ContactSectionEnum::COLLABORATIONS ,
34- 'role ' => [
35- 'de_CH ' => 'codebar Solutions AG ' ,
36- ],
37- ],
3833 ContactSectionEnum::BOARD_MEMBERS => [
3934 'key ' => ContactSectionEnum::BOARD_MEMBERS ,
4035 ],
@@ -43,14 +38,14 @@ public function run(): void
4338 'email ' => 'sebastian.buergin@paperflakes.ch ' ,
4439 'linkedin ' => 'https://www.linkedin.com/in/fix-sebastian/ ' ,
4540 ],
46- 'link ' => 'https://www.codebar.ch ' ,
47- 'image ' => 'https://res.cloudinary.com/codebar/image/upload/c_scale,dpr_2.0,f_auto,q_auto,w_500/www-codebar-ch/team/s_fix.webp ' ,
41+ 'image ' => 'https://res.cloudinary.com/codebar/image/upload/c_scale,dpr_2.0,f_auto,q_auto,w_500/www-paperflakes-ch/people/20201001_new_sebastian_fix_square.webp ' ,
4842 ]
4943 );
5044
5145 Contact::updateOrCreate (
52- ['name ' => ' Mischa Lanz ' ],
46+ ['id ' => 2 ],
5347 [
48+ 'name ' => 'Mischa Lanz ' ,
5449 'published ' => true ,
5550 'sections ' => [
5651 ContactSectionEnum::EMPLOYEE_SERVICES => [
@@ -67,13 +62,14 @@ public function run(): void
6762 'email ' => 'mischa.lanz@paperflakes.ch ' ,
6863 'linkedin ' => 'https://www.realestateclub.ch/images/REC_social_linkedin.svg ' ,
6964 ],
70- 'image ' => 'https://www.realestateclub. ch/images/6528f7c6bddf8430fb5d154c_Mischa_Hemd .webp ' ,
65+ 'image ' => 'https://res.cloudinary.com/codebar/image/upload/c_scale,dpr_2.0,f_auto,q_auto,w_500/www-paperflakes- ch/people/e2ch9rzadt0hamytyzc8 .webp ' ,
7166 ]
7267 );
7368
7469 Contact::updateOrCreate (
75- ['name ' => ' Dominique Ernst ' ],
70+ ['id ' => 3 ],
7671 [
72+ 'name ' => 'Dominique Ernst ' ,
7773 'published ' => true ,
7874 'sections ' => [
7975 ContactSectionEnum::BOARD_MEMBERS => [
@@ -84,13 +80,14 @@ public function run(): void
8480 'email ' => 'dominique.ernst@paperflakes.ch ' ,
8581 'linkedin ' => 'https://www.linkedin.com/in/dominique-ernst ' ,
8682 ],
87- 'image ' => 'https://res.cloudinary.com/codebar/image/upload/c_scale,dpr_2.0,f_auto,q_auto,w_500/www-codebar -ch/team/d_ernst .webp ' ,
83+ 'image ' => 'https://res.cloudinary.com/codebar/image/upload/c_scale,dpr_2.0,f_auto,q_auto,w_500/www-paperflakes -ch/people/ujywqubl5rkkm5hjqjsa .webp ' ,
8884 ]
8985 );
9086
9187 Contact::updateOrCreate (
92- ['name ' => ' Rhys Lees ' ],
88+ ['id ' => 4 ],
9389 [
90+ 'name ' => 'Rhys Lees ' ,
9491 'published ' => true ,
9592 'sections ' => [
9693 ContactSectionEnum::EMPLOYEE_PRODUCTS => [
@@ -105,13 +102,14 @@ public function run(): void
105102 'email ' => 'rhys.leess@paperflakes.ch ' ,
106103 'linkedin ' => 'https://www.linkedin.com/in/rhys-lees ' ,
107104 ],
108- 'image ' => 'https://res.cloudinary.com/codebar/image/upload/c_scale,dpr_2.0,f_auto,q_auto,w_500/www-codebar -ch/team /r_lees.webp ' ,
105+ 'image ' => 'https://res.cloudinary.com/codebar/image/upload/c_scale,dpr_2.0,f_auto,q_auto,w_500/www-paperflakes -ch/people /r_lees.webp ' ,
109106 ]
110107 );
111108
112109 Contact::updateOrCreate (
113- ['name ' => ' Katja Lanz ' ],
110+ ['id ' => 5 ],
114111 [
112+ 'name ' => 'Katja Lanz ' ,
115113 'published ' => true ,
116114 'sections ' => [
117115 ContactSectionEnum::EMPLOYEE_ADMINISTRATION => [
@@ -131,8 +129,27 @@ public function run(): void
131129 );
132130
133131 Contact::updateOrCreate (
134- ['name ' => 'Dario Wieland ' ],
132+ ['id ' => 6 ],
133+ [
134+ 'name ' => 'Sebastian Bürgin-Fix ' ,
135+ 'published ' => true ,
136+ 'sections ' => [
137+ ContactSectionEnum::COLLABORATIONS => [
138+ 'key ' => ContactSectionEnum::COLLABORATIONS ,
139+ 'role ' => [
140+ 'de_CH ' => 'codebar Solutions AG ' ,
141+ ],
142+ ],
143+ ],
144+ 'link ' => 'https://www.codebar.ch ' ,
145+ 'image ' => 'https://res.cloudinary.com/codebar/image/upload/c_scale,dpr_2.0,f_auto,q_auto,w_500/www-paperflakes-ch/people/codebar_social_linkedin_profilbild.webp ' ,
146+ ]
147+ );
148+
149+ Contact::updateOrCreate (
150+ ['id ' => 7 ],
135151 [
152+ 'name ' => 'Dario Wieland ' ,
136153 'published ' => true ,
137154 'sections ' => [
138155 ContactSectionEnum::COLLABORATIONS => [
@@ -143,7 +160,7 @@ public function run(): void
143160 ],
144161 ],
145162 'link ' => 'https://www.business-solutions.gmbh ' ,
146- 'image ' => 'https://cdn.prod.website-files. com/6727978a2c75d658e43b75d5/67543ad5eb733f845bc34ba6_DarioWieland_Web.webp ' ,
163+ 'image ' => 'https://res.cloudinary. com/codebar/image/upload/c_scale,dpr_2.0,f_auto,q_auto,w_500/www-paperflakes-ch/people/wieland_busines_solutions_gmbh.jpg ' ,
147164 ]
148165 );
149166 }
0 commit comments