Skip to content
This repository was archived by the owner on Oct 1, 2020. It is now read-only.

Commit fcb98f5

Browse files
author
Mushtaq Ali
authored
Merge pull request #82 from edx/mushtaq/fix-edx-id-max-len
Increase length of edx_id field
2 parents d7d046f + 0ba637a commit fcb98f5

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# -*- coding: utf-8 -*-
2+
# Generated by Django 1.9 on 2018-01-15 08:15
3+
from __future__ import unicode_literals
4+
5+
from django.db import migrations, models
6+
7+
8+
class Migration(migrations.Migration):
9+
10+
dependencies = [
11+
('VEDA_OS01', '0005_auto_20171127_0856'),
12+
]
13+
14+
operations = [
15+
migrations.AlterField(
16+
model_name='video',
17+
name='edx_id',
18+
field=models.CharField(max_length=255, verbose_name=b'VEDA Video ID'),
19+
),
20+
]

VEDA_OS01/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ class Video(models.Model):
434434
max_length=180,
435435
null=True, blank=True
436436
)
437-
edx_id = models.CharField('VEDA Video ID', max_length=20)
437+
edx_id = models.CharField('VEDA Video ID', max_length=255)
438438
studio_id = models.CharField(
439439
'Studio Upload ID',
440440
max_length=100,

0 commit comments

Comments
 (0)