Skip to content

Commit

Permalink
Merge pull request #410 from openedx/ammar/add-export-timestamp
Browse files Browse the repository at this point in the history
feat: add data export timestamp
  • Loading branch information
muhammad-ammar committed Oct 20, 2023
2 parents 9c5279e + 28fa515 commit 6125928
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ Unreleased
----------

=========================
[5.5.0] - 2023-10-19
---------------------
* Add data export timestamp

[5.4.1] - 2023-09-22
---------------------
* Update NullBooleanField for Django 4.2 support
Expand Down
2 changes: 1 addition & 1 deletion enterprise_data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Enterprise data api application. This Django app exposes API endpoints used by enterprises.
"""

__version__ = "5.4.1"
__version__ = "5.5.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.20 on 2023-10-19 15:55

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('enterprise_data', '0037_alter_enterpriseenrollment_consent_granted'),
]

operations = [
migrations.AddField(
model_name='enterpriseoffer',
name='export_timestamp',
field=models.DateTimeField(null=True),
),
]
1 change: 1 addition & 0 deletions enterprise_data/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ class Meta:
remaining_balance = models.FloatField(null=True)
amount_offer_spent_ocm = models.FloatField(null=True)
amount_offer_spent_exec_ed = models.FloatField(null=True)
export_timestamp = models.DateTimeField(null=True)

def __str__(self):
"""
Expand Down

0 comments on commit 6125928

Please sign in to comment.