diff --git a/apps/gooyal_oauth2/migrations/0004_alter_application_balance.py b/apps/gooyal_oauth2/migrations/0004_alter_application_balance.py new file mode 100644 index 0000000..8e0bc47 --- /dev/null +++ b/apps/gooyal_oauth2/migrations/0004_alter_application_balance.py @@ -0,0 +1,18 @@ +# Generated by Django 5.0.6 on 2024-08-10 16:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('gooyal_oauth2', '0003_application_balance'), + ] + + operations = [ + migrations.AlterField( + model_name='application', + name='balance', + field=models.PositiveBigIntegerField(default=0, verbose_name='balance'), + ), + ] diff --git a/apps/users/migrations/0006_alter_user_balance.py b/apps/users/migrations/0006_alter_user_balance.py new file mode 100644 index 0000000..615d526 --- /dev/null +++ b/apps/users/migrations/0006_alter_user_balance.py @@ -0,0 +1,18 @@ +# Generated by Django 5.0.6 on 2024-08-10 16:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('users', '0005_rename_last_update_user_updated_at'), + ] + + operations = [ + migrations.AlterField( + model_name='user', + name='balance', + field=models.PositiveBigIntegerField(default=0, verbose_name='balance'), + ), + ] diff --git a/apps/wallet/migrations/0004_remove_transaction_payee_remove_transaction_payer_and_more.py b/apps/wallet/migrations/0004_remove_transaction_payee_remove_transaction_payer_and_more.py new file mode 100644 index 0000000..6fab76e --- /dev/null +++ b/apps/wallet/migrations/0004_remove_transaction_payee_remove_transaction_payer_and_more.py @@ -0,0 +1,42 @@ +# Generated by Django 5.0.6 on 2024-08-10 16:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('wallet', '0003_remove_transaction_detail_id_transaction_detail_and_more'), + ] + + operations = [ + migrations.RemoveField( + model_name='transaction', + name='payee', + ), + migrations.RemoveField( + model_name='transaction', + name='payer', + ), + migrations.AddField( + model_name='transaction', + name='payee_id', + field=models.UUIDField(default=None), + preserve_default=False, + ), + migrations.AddField( + model_name='transaction', + name='payee_type', + field=models.IntegerField(blank=True, choices=[(1, 'user'), (2, 'application')], null=True), + ), + migrations.AddField( + model_name='transaction', + name='payer_id', + field=models.UUIDField(blank=True, null=True), + ), + migrations.AddField( + model_name='transaction', + name='payer_type', + field=models.IntegerField(blank=True, choices=[(1, 'user'), (2, 'application')], null=True), + ), + ]