Skip to content

Commit

Permalink
#22 Change name column to 255 chars
Browse files Browse the repository at this point in the history
  • Loading branch information
machristie committed Jun 22, 2020
1 parent 17eca26 commit 0680a42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion interactwel/migrations/0015_auto_20200615_1719.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Migration(migrations.Migration):
name='InteractwelProjectData',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=256)),
('name', models.CharField(max_length=255)),
('data_type', models.CharField(max_length=256)),
('data', models.TextField(blank=True)),
('project_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='interactwel.InteractwelProject')),
Expand Down
2 changes: 1 addition & 1 deletion interactwel/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ class Meta:

class InteractwelProjectData(models.Model):
project_id = models.ForeignKey(InteractwelProject, on_delete=models.CASCADE)
name = models.CharField(max_length=256)
name = models.CharField(max_length=255)
data_type = models.CharField(max_length=256)
data = models.TextField(blank=True)

Expand Down

0 comments on commit 0680a42

Please sign in to comment.