Skip to content

Commit

Permalink
Merge pull request #174 from matematikk-mooc/KURSP-1101-history-charset
Browse files Browse the repository at this point in the history
KURSP-1101: increase size of asset_name
  • Loading branch information
theahthodesen authored Feb 22, 2024
2 parents 6719370 + c7fbbd8 commit 3f6a95d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions statistics_api/history/migrations/0006_alter_history_asset_name.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.18 on 2024-02-22 11:14

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('history', '0005_alter_history_visited_url'),
]

operations = [
migrations.AlterField(
model_name='history',
name='asset_name',
field=models.CharField(blank=True, max_length=512, null=True),
),
]
2 changes: 1 addition & 1 deletion statistics_api/history/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ class History(models.Model):
interaction_seconds = models.IntegerField(blank=True, null=True)
asset_icon = models.CharField(max_length=255, null=True, blank=True)
asset_readable_category = models.CharField(max_length=255, null=True, blank=True)
asset_name = models.CharField(max_length=255, null=True, blank=True)
asset_name = models.CharField(max_length=512, null=True, blank=True)
context_name = models.CharField(max_length=255, null=True, blank=True)

0 comments on commit 3f6a95d

Please sign in to comment.