Skip to content

Commit

Permalink
Fix migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
Suryansh5545 committed Aug 13, 2023
1 parent 2b559b3 commit c63e64d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 24 deletions.
4 changes: 2 additions & 2 deletions apps/event/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 4.2.3 on 2023-08-13 16:00
# Generated by Django 4.2.3 on 2023-08-13 16:53

from django.db import migrations, models
import django.db.models.deletion
Expand Down Expand Up @@ -26,7 +26,7 @@ class Migration(migrations.Migration):
('sub_events_included_allowed', models.IntegerField(default=0)),
('is_active', models.BooleanField(default=False)),
('event_page', models.URLField(blank=True)),
('payment_gateway', models.CharField(choices=[('razorpay', 'Razorpay'), ('paytm', 'Paytm')], default='razorpay', max_length=100)),
('payment_gateway', models.CharField(blank=True, choices=[('razorpay', 'Razorpay'), ('paytm', 'Paytm')], max_length=100, null=True)),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
],
Expand Down
18 changes: 0 additions & 18 deletions apps/event/migrations/0002_alter_event_payment_gateway.py

This file was deleted.

4 changes: 2 additions & 2 deletions apps/ticket/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 4.2.3 on 2023-08-13 16:00
# Generated by Django 4.2.3 on 2023-08-13 16:53

from django.db import migrations, models
import django.db.models.deletion
Expand All @@ -10,8 +10,8 @@ class Migration(migrations.Migration):
initial = True

dependencies = [
('event', '0001_initial'),
('transactions', '0001_initial'),
('event', '0001_initial'),
]

operations = [
Expand Down
2 changes: 1 addition & 1 deletion apps/transactions/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 4.2.3 on 2023-08-13 16:00
# Generated by Django 4.2.3 on 2023-08-13 16:53

from django.db import migrations, models

Expand Down
1 change: 0 additions & 1 deletion scripts/seed.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ def create_addon(event):

def run(*args):
try:
NUMBER_OF_CHALLENGES = int(args[0])
status = check_database()
if status is False:
print("Seeding aborted.")
Expand Down

0 comments on commit c63e64d

Please sign in to comment.