Skip to content

Commit

Permalink
fixup! feat: initial implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Agrendalath committed Sep 4, 2024
1 parent e6b4b29 commit b49546b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 3.2.19 on 2024-09-04 15:35

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('openedx_course_enrollment_audit', '0001_initial'),
]

operations = [
migrations.AlterField(
model_name='courseenrollmentaudit',
name='course_id',
field=models.CharField(blank=True, db_index=True, max_length=255, null=True),
),
migrations.AlterField(
model_name='courseenrollmentaudit',
name='org',
field=models.CharField(blank=True, db_index=True, max_length=255, null=True),
),
]
4 changes: 2 additions & 2 deletions openedx_course_enrollment_audit/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ class CourseEnrollmentAudit(models.Model):
enrolled_email = models.CharField(max_length=255, db_index=True)
time_stamp = models.DateTimeField(auto_now_add=True, null=True)
state_transition = models.CharField(max_length=255)
org = models.CharField(max_length=255, null=True, blank=True)
course_id = models.CharField(max_length=255, null=True, blank=True)
org = models.CharField(max_length=255, null=True, blank=True, db_index=True)
course_id = models.CharField(max_length=255, null=True, blank=True, db_index=True)
role = models.CharField(blank=True, null=True, max_length=64)
reason = models.TextField(null=True, blank=True)
user_id = models.IntegerField(null=True, blank=True)
Expand Down

0 comments on commit b49546b

Please sign in to comment.