8000 seeders format json · thaivanan/Laravel-API-Server@625b38e · GitHub
[go: up one dir, main page]

8000 Skip to content

Commit 625b38e

Browse files
committed
seeders format json
1 parent 7d2400b commit 625b38e

File tree

11 files changed

+849
-9
lines changed

11 files changed

+849
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file 10000 line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
<ul>
192192
<li><span>nginx:alpine</span> - <code>:8000->80/tcp</code></li>
193193
<li><span>mariadb:latest</span> - <code>:3306</code></li>
194-
<li><span>php:7.4-fpm</span> - <code>:9000</code></li>
194+
<li><span>php:8.0.6-fpm</span> - <code>:9000</code></li>
195195
</ul>
196196

197197
<h4>Containers structure:</h4>

app/Models/Genero.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
**/
1414
class Genero extends Base
1515
{
16+
17+
public $timestamps = false;
18+
protected $fillable = ['nombre', 'slug'];
19+
1620
//Relacion de muchos a muchos polimorfica
1721
public function juegables()
1822
{

database/data/desarrolladoras.json

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
[
2+
{
3+
"nombre": "Ubisoft",
4+
"slug": "ubisoft"
5+
},
6+
{
7+
"nombre": "SIE Bend Studio",
8+
"slug": "sie-bend-studio"
9+
},
10+
{
11+
"nombre": "Electronics Arts",
12+
"slug": "electronic-arts"
13+
},
14+
{
15+
"nombre": "Vicarious Visions",
16+
"slug": "vicarious-visions"
17+
},
18+
{
19+
"nombre": "Team ICO",
20+
"slug": "team-ico"
21+
},
22+
{
23+
"nombre": "From Software",
24+
"slug": "from-software"
25+
},
26+
{
27+
"nombre": "Id Software",
28+
"slug": "id-software"
29+
},
30+
{
31+
"nombre": "Rockstar Games",
32+
"slug": "rockstar-games"
33+
},
34+
{
35+
"nombre": "Toys for Bob",
36+
"slug": "toys-for-bob"
37+
},
38+
{
39+
"nombre": "Rebelion",
40+
"slug": "rebelion"
41+
},
42+
{
43+
"nombre": "StudioMDHR",
44+
"slug": "studiomdhr"
45+
},
46+
{
47+
"nombre": "Bungie Studios",
48+
"slug": "bungie-studios"
49+
},
50+
{
51+
"nombre": "Other Ocean",
52+
"slug": "other-ocean"
53+
},
54+
{
55+
"nombre": "Radical Entertainment",
56+
"slug": "radical-entertaiment"
57+
},
58+
{
59+
"nombre": "Santa Monica Studio",
60+
"slug": "santa-monica-studio"
61+
},
62+
{
63+
"nombre": "Sucker Punch Productions",
64+
"slug": "sucker-punch-productions"
65+
},
66+
{
67+
"nombre": "Nintendo Entertainment",
68+
"slug": "nintendo-entertaiment"
69+
},
70+
{
71+
"nombre": "Guerrilla Games",
72+
"slug": "guerrilla-games"
73+
},
74+
{
75+
"nombre": "Mojang Studios",
76+
"slug": "mojang-studios"
77+
},
78+
{
79+
"nombre": "CD Projekt RED",
80+
"slug": "cd-projekt-red"
81+
},
82+
{
83+
"nombre": "Konami",
84+
"slug": "konami"
85+
},
86+
{
87+
"nombre": "The Coalition",
88+
"slug": "the-coalition"
89+
},
90+
{
91+
"nombre": "Bethesda Game Studios",
92+
"slug": "bethesda-game-studios"
93+
},
94+
{
95+
"nombre": "Retro Studios",
96+
"slug": "retro-studios"
97+
},
98+
{
99+
"nombre": "Square Enix",
100+
"slug": "square-enix"
101+
},
102+
{
103+
"nombre": "Game Freak",
104+
"slug": "game-freak"
105+
},
106+
{
107+
"nombre": "Beenox",
108+
"slug": "beenox"
109+
},
110+
{
111+
"nombre": "Capcom",
112+
"slug": "capcom"
113+
},
114+
{
115+
"nombre": "Tripwire Interactive",
116+
"slug": "tripwire-interactive"
117+
},
118+
{
119+
"nombre": "Hangar 13",
120+
"slug": "hangar-13"
121+
},
122+
{
123+
"nombre": "Naughty Dog",
124+
"slug": "nauhty-dog"
125+
},
126+
{
127+
"nombre": "Warhorse Studios",
128+
"slug": "warhose-studios"
129+
}
130+
]

0 commit comments

Comments
 (0)
0