|
| 1 | +# Generated by Django 5.1.6 on 2025-03-02 20:08 |
| 2 | + |
| 3 | +import django.db.models.deletion |
| 4 | +from django.conf import settings |
| 5 | +from django.db import migrations, models |
| 6 | + |
| 7 | +import website.models |
| 8 | + |
| 9 | + |
| 10 | +class Migration(migrations.Migration): |
| 11 | + dependencies = [ |
| 12 | + ("website", "0215_bid_github_username_alter_bid_user"), |
| 13 | + migrations.swappable_dependency(settings.AUTH_USER_MODEL), |
| 14 | + ] |
| 15 | + |
| 16 | + operations = [ |
| 17 | + migrations.AddField( |
| 18 | + model_name="githubissue", |
| 19 | + name="bch_tx_id", |
| 20 | + field=models.CharField(blank=True, max_length=255, null=True), |
| 21 | + ), |
| 22 | + migrations.AddField( |
| 23 | + model_name="githubissue", |
| 24 | + name="p2p_amount_bch", |
| 25 | + field=models.DecimalField(blank=True, decimal_places=8, max_digits=18, null=True), |
| 26 | + ), |
| 27 | + migrations.AddField( |
| 28 | + model_name="githubissue", |
| 29 | + name="p2p_amount_usd", |
| 30 | + field=models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True), |
| 31 | + ), |
| 32 | + migrations.AddField( |
| 33 | + model_name="githubissue", |
| 34 | + name="p2p_payment_created_at", |
| 35 | + field=models.DateTimeField(blank=True, null=True), |
| 36 | + ), |
| 37 | + migrations.AddField( |
| 38 | + model_name="githubissue", |
| 39 | + name="sent_by_user", |
| 40 | + field=models.ForeignKey( |
| 41 | + blank=True, |
| 42 | + null=True, |
| 43 | + on_delete=django.db.models.deletion.SET_NULL, |
| 44 | + related_name="github_issue_p2p_payments", |
| 45 | + to=settings.AUTH_USER_MODEL, |
| 46 | + ), |
| 47 | + ), |
| 48 | + migrations.AlterField( |
| 49 | + model_name="bid", |
| 50 | + name="bch_address", |
| 51 | + field=models.CharField( |
| 52 | + blank=True, max_length=100, null=True, validators=[website.models.validate_bch_address] |
| 53 | + ), |
| 54 | + ), |
| 55 | + migrations.AlterField( |
| 56 | + model_name="userprofile", |
| 57 | + name="bch_address", |
| 58 | + field=models.CharField( |
| 59 | + blank=True, max_length=100, null=True, validators=[website.models.validate_bch_address] |
| 60 | + ), |
| 61 | + ), |
| 62 | + migrations.AlterField( |
| 63 | + model_name="userprofile", |
| 64 | + name="btc_address", |
| 65 | + field=models.CharField( |
| 66 | + blank=True, max_length=100, null=True, validators=[website.models.validate_btc_address] |
| 67 | + ), |
| 68 | + ), |
| 69 | + ] |
0 commit comments