-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
add latest berries and alter schema to allow empty properties from th… #1572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
programgames
wants to merge
7
commits into
PokeAPI:master
Choose a base branch
from
programgames:add-latest-berries
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
1267378
add latest berries and alter schema to allow empty properties from th…
programgames a4c3b7c
do not allow empty values for berry ids
programgames ab1f362
strenghten berry name on import + do not allow null values on berry id
programgames 30acacd
simplify berry name parsing and drop unnecessary whitespace check
programgames 9d48058
Merge remote-tracking branch 'origin/master' into add-latest-berries
programgames 0829733
Merge remote-tracking branch 'upstream/master' into add-latest-berries
programgames 7f7c3f7
update migration index
programgames File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
pokemon_v2/migrations/0030_alter_berry_growth_time_alter_berry_max_harvest_and_more.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| # Generated by Django 5.2.10 on 2026-06-25 15:20 | ||
|
|
||
| from django.db import migrations, models | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
|
|
||
| dependencies = [ | ||
| ("pokemon_v2", "0029_pokemonformtrigger_pokemonformcondition"), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.AlterField( | ||
| model_name="berry", | ||
| name="growth_time", | ||
| field=models.IntegerField(blank=True, null=True), | ||
| ), | ||
| migrations.AlterField( | ||
| model_name="berry", | ||
| name="max_harvest", | ||
| field=models.IntegerField(blank=True, null=True), | ||
| ), | ||
| migrations.AlterField( | ||
| model_name="berry", | ||
| name="natural_gift_power", | ||
| field=models.IntegerField(blank=True, null=True), | ||
| ), | ||
| migrations.AlterField( | ||
| model_name="berry", | ||
| name="size", | ||
| field=models.IntegerField(blank=True, null=True), | ||
| ), | ||
| migrations.AlterField( | ||
| model_name="berry", | ||
| name="smoothness", | ||
| field=models.IntegerField(blank=True, null=True), | ||
| ), | ||
| migrations.AlterField( | ||
| model_name="berry", | ||
| name="soil_dryness", | ||
| field=models.IntegerField(blank=True, null=True), | ||
| ), | ||
| ] | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.