|
1 | | -# Generated by Django 3.2.23 on 2024-09-06 01:47 |
| 1 | +# Generated by Django 3.2.23 on 2024-06-19 02:43 |
2 | 2 |
|
3 | | -from django.conf import settings |
4 | 3 | from django.db import migrations, models |
5 | | -import django.db.models.deletion |
6 | 4 |
|
7 | 5 |
|
8 | 6 | class Migration(migrations.Migration): |
9 | 7 |
|
10 | 8 | initial = True |
11 | 9 |
|
12 | 10 | dependencies = [ |
13 | | - migrations.swappable_dependency(settings.AUTH_USER_MODEL), |
14 | 11 | ] |
15 | 12 |
|
16 | 13 | operations = [ |
17 | | - migrations.CreateModel( |
18 | | - name='ChaosAPIKey', |
19 | | - fields=[ |
20 | | - ('id', models.AutoField(primary_key=True, serialize=False)), |
21 | | - ('key', models.CharField(max_length=500)), |
22 | | - ], |
23 | | - ), |
24 | | - migrations.CreateModel( |
25 | | - name='HackerOneAPIKey', |
26 | | - fields=[ |
27 | | - ('id', models.AutoField(primary_key=True, serialize=False)), |
28 | | - ('username', models.CharField(max_length=500)), |
29 | | - ('key', models.CharField(max_length=500)), |
30 | | - ], |
31 | | - ), |
32 | 14 | migrations.CreateModel( |
33 | 15 | name='NetlasAPIKey', |
34 | 16 | fields=[ |
@@ -67,31 +49,4 @@ class Migration(migrations.Migration): |
67 | 49 | ('query', models.CharField(max_length=1000)), |
68 | 50 | ], |
69 | 51 | ), |
70 | | - migrations.CreateModel( |
71 | | - name='UserPreferences', |
72 | | - fields=[ |
73 | | - ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
74 | | - ('bug_bounty_mode', models.BooleanField(default=True)), |
75 | | - ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), |
76 | | - ], |
77 | | - ), |
78 | | - migrations.CreateModel( |
79 | | - name='InAppNotification', |
80 | | - fields=[ |
81 | | - ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
82 | | - ('notification_type', models.CharField(choices=[('system', 'system'), ('project', 'project')], default='system', max_length=10)), |
83 | | - ('status', models.CharField(choices=[('success', 'Success'), ('info', 'Informational'), ('warning', 'Warning'), ('error', 'Error')], default='info', max_length=10)), |
84 | | - ('title', models.CharField(max_length=255)), |
85 | | - ('description', models.TextField()), |
86 | | - ('icon', models.CharField(max_length=50)), |
87 | | - ('is_read', models.BooleanField(default=False)), |
88 | | - ('created_at', models.DateTimeField(auto_now_add=True)), |
89 | | - ('redirect_link', models.URLField(blank=True, max_length=255, null=True)), |
90 | | - ('open_in_new_tab', models.BooleanField(default=False)), |
91 | | - ('project', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='dashboard.project')), |
92 | | - ], |
93 | | - options={ |
94 | | - 'ordering': ['-created_at'], |
95 | | - }, |
96 | | - ), |
97 | 52 | ] |
0 commit comments