Skip to content

Commit

Permalink
create new migrations file (#30)
Browse files Browse the repository at this point in the history
Co-authored-by: guoshijiang <[email protected]>
  • Loading branch information
guoshijiang and guoshijiang authored Mar 13, 2024
1 parent 84e8ea8 commit 14e907c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions airdrop/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Generated by Django 4.1.1 on 2024-03-03 03:11

# Generated by Django 4.1.1 on 2024-03-13 05:36

from django.db import migrations, models
import django.db.models.deletion
Expand Down Expand Up @@ -46,7 +45,6 @@ class Migration(migrations.Migration):
('updated_at', models.DateTimeField(auto_now=True, db_index=True)),
('address', models.CharField(max_length=100, verbose_name='用户地址')),
('type', models.CharField(choices=[('Invite', 'Invite'), ('BridgeTransfer', 'BridgeTransfer'), ('BridgeStaking', 'BridgeStaking')], default='BridgeTransfer', max_length=100, verbose_name='交易类别')),

('points', models.PositiveIntegerField(default=0, verbose_name='积分数量')),
('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='airdrop_user', to='airdrop.airdropuser', verbose_name='收藏的商家')),
],
Expand Down

0 comments on commit 14e907c

Please sign in to comment.