-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add balnk field to nullable fields (#63)
- Loading branch information
Showing
14 changed files
with
676 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
accounts/migrations/0006_alter_account_near_social_profile_data.py
This file contains 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,23 @@ | ||
# Generated by Django 5.0.6 on 2024-07-25 17:16 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("accounts", "0005_alter_account_chain"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="account", | ||
name="near_social_profile_data", | ||
field=models.JSONField( | ||
blank=True, | ||
help_text="NEAR social data contained under 'profile' key.", | ||
null=True, | ||
verbose_name="NEAR social profile data", | ||
), | ||
), | ||
] |
This file contains 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
34 changes: 34 additions & 0 deletions
34
activities/migrations/0005_alter_activity_action_result_alter_activity_tx_hash.py
This file contains 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,34 @@ | ||
# Generated by Django 5.0.6 on 2024-07-25 17:16 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("activities", "0004_alter_activity_tx_hash"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="activity", | ||
name="action_result", | ||
field=models.JSONField( | ||
blank=True, | ||
help_text="Activity action result.", | ||
null=True, | ||
verbose_name="action result", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="activity", | ||
name="tx_hash", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="Transaction hash.", | ||
max_length=64, | ||
null=True, | ||
verbose_name="transaction hash", | ||
), | ||
), | ||
] |
This file contains 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
169 changes: 169 additions & 0 deletions
169
donations/migrations/0013_alter_donation_chef_alter_donation_chef_fee_and_more.py
This file contains 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,169 @@ | ||
# Generated by Django 5.0.6 on 2024-07-25 17:16 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("accounts", "0006_alter_account_near_social_profile_data"), | ||
("donations", "0012_update_donations_net_amount"), | ||
("pots", "0012_alter_pot_base_currency_alter_pot_chef_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="donation", | ||
name="chef", | ||
field=models.ForeignKey( | ||
blank=True, | ||
help_text="Donation chef.", | ||
null=True, | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="chef_donations", | ||
to="accounts.account", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="donation", | ||
name="chef_fee", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="Chef fee.", | ||
max_length=64, | ||
null=True, | ||
verbose_name="chef fee", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="donation", | ||
name="chef_fee_usd", | ||
field=models.DecimalField( | ||
blank=True, | ||
decimal_places=2, | ||
help_text="Chef fee in USD.", | ||
max_digits=20, | ||
null=True, | ||
verbose_name="chef fee in USD", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="donation", | ||
name="message", | ||
field=models.TextField( | ||
blank=True, | ||
help_text="Donation message.", | ||
max_length=1024, | ||
null=True, | ||
verbose_name="message", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="donation", | ||
name="net_amount_usd", | ||
field=models.DecimalField( | ||
blank=True, | ||
decimal_places=2, | ||
help_text="Net amount in USD.", | ||
max_digits=20, | ||
null=True, | ||
verbose_name="net amount in USD", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="donation", | ||
name="pot", | ||
field=models.ForeignKey( | ||
blank=True, | ||
help_text="Donation pot.", | ||
null=True, | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="donations", | ||
to="pots.pot", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="donation", | ||
name="protocol_fee_usd", | ||
field=models.DecimalField( | ||
blank=True, | ||
decimal_places=2, | ||
help_text="Protocol fee in USD.", | ||
max_digits=20, | ||
null=True, | ||
verbose_name="protocol fee in USD", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="donation", | ||
name="recipient", | ||
field=models.ForeignKey( | ||
blank=True, | ||
help_text="Donation recipient.", | ||
null=True, | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="received_donations", | ||
to="accounts.account", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="donation", | ||
name="referrer", | ||
field=models.ForeignKey( | ||
blank=True, | ||
help_text="Donation referrer.", | ||
null=True, | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="referral_donations", | ||
to="accounts.account", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="donation", | ||
name="referrer_fee", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="Referrer fee.", | ||
max_length=64, | ||
null=True, | ||
verbose_name="referrer fee", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="donation", | ||
name="referrer_fee_usd", | ||
field=models.DecimalField( | ||
blank=True, | ||
decimal_places=2, | ||
help_text="Referrer fee in USD.", | ||
max_digits=20, | ||
null=True, | ||
verbose_name="referrer fee in USD", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="donation", | ||
name="total_amount_usd", | ||
field=models.DecimalField( | ||
blank=True, | ||
db_index=True, | ||
decimal_places=2, | ||
help_text="Total amount in USD.", | ||
max_digits=20, | ||
null=True, | ||
verbose_name="total amount in USD", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="donation", | ||
name="tx_hash", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="Transaction hash.", | ||
max_length=64, | ||
null=True, | ||
verbose_name="transaction hash", | ||
), | ||
), | ||
] |
This file contains 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
23 changes: 23 additions & 0 deletions
23
indexer_app/migrations/0003_alter_blockheight_block_timestamp.py
This file contains 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,23 @@ | ||
# Generated by Django 5.0.6 on 2024-07-25 17:16 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("indexer_app", "0002_blockheight_block_timestamp"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="blockheight", | ||
name="block_timestamp", | ||
field=models.DateTimeField( | ||
blank=True, | ||
help_text="date equivalent of the block height.", | ||
null=True, | ||
verbose_name="block timestamp", | ||
), | ||
), | ||
] |
This file contains 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
Oops, something went wrong.