-
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.
sort round by chain, add constraint to round
- Loading branch information
Showing
3 changed files
with
52 additions
and
3 deletions.
There are no files selected for viewing
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
36 changes: 36 additions & 0 deletions
36
grantpicks/migrations/0004_alter_round_on_chain_id_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,36 @@ | ||
# Generated by Django 5.0.6 on 2024-11-05 10:41 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("chains", "0003_add_stellar_chain"), | ||
("grantpicks", "0003_alter_votepair_project"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="round", | ||
name="on_chain_id", | ||
field=models.IntegerField( | ||
help_text="Round ID in contract", verbose_name="contract round ID" | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="rounddeposit", | ||
name="on_chain_id", | ||
field=models.IntegerField( | ||
help_text="Deposit ID in contract", verbose_name="contract deposit ID" | ||
), | ||
), | ||
migrations.AlterUniqueTogether( | ||
name="round", | ||
unique_together={("chain", "on_chain_id")}, | ||
), | ||
migrations.AlterUniqueTogether( | ||
name="rounddeposit", | ||
unique_together={("round", "on_chain_id")}, | ||
), | ||
] |
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