Skip to content

Commit

Permalink
Rename zipCode to zip_code
Browse files Browse the repository at this point in the history
  • Loading branch information
PrabuckiDominik committed Aug 20, 2024
1 parent b45bd2d commit ff649cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/Models/School.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @property string $street
* @property string $building_number
* @property string $apartment_number
* @property string $zipCode
* @property string $zip_code
* @property Carbon $created_at
* @property Carbon $updated_at
*/
Expand All @@ -29,6 +29,6 @@ class School extends Model
"street",
"building_number",
"apartment_number",
"zipCode",
"zip_code",
];
}
2 changes: 1 addition & 1 deletion database/factories/SchoolFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function definition(): array
"street" => fake()->name(),
"building_number" => fake()->name(),
"apartment_number" => fake()->name(),
"zipCode" => fake()->name(),
"zip_code" => fake()->name(),
];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function up(): void
$table->string("street");
$table->string("building_number");
$table->string("apartment_number")->nullable();
$table->string("zipCode");
$table->string("zip_code");
$table->timestamps();
});
}
Expand Down

0 comments on commit ff649cf

Please sign in to comment.