Skip to content

Commit

Permalink
Merge pull request #23 from machristie/api-integration
Browse files Browse the repository at this point in the history
#22 Change name column to 255 chars
  • Loading branch information
DImuthuUpe authored Jun 22, 2020
2 parents 17eca26 + 0680a42 commit d63bbd5
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 d63bbd5

Please sign in to comment.