diff --git a/virtualmeetings/migrations/0001_initial.py b/virtualmeetings/migrations/0001_initial.py index cacb195873ad261c4348c4945685cf29326a61c5..567764e57de6f7ee69c5fa158016d95f64917c0a 100644 --- a/virtualmeetings/migrations/0001_initial.py +++ b/virtualmeetings/migrations/0001_initial.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Generated by Django 1.10.3 on 2017-03-01 21:15 +# Generated by Django 1.10.3 on 2017-03-06 07:04 from __future__ import unicode_literals from django.db import migrations, models @@ -13,7 +13,7 @@ class Migration(migrations.Migration): initial = True dependencies = [ - ('scipost', '0039_auto_20170301_2215'), + ('scipost', '0039_auto_20170306_0804'), ] state_operations = [ @@ -25,7 +25,7 @@ class Migration(migrations.Migration): ('feedback', models.TextField()), ], options={ - 'db_table': 'scipost_Feedback', + 'db_table': 'scipost_feedback', }, ), migrations.CreateModel( @@ -43,7 +43,7 @@ class Migration(migrations.Migration): ('accepted', models.NullBooleanField()), ], options={ - 'db_table': 'scipost_Motion', + 'db_table': 'scipost_motion', }, ), migrations.CreateModel( @@ -63,7 +63,7 @@ class Migration(migrations.Migration): ('accepted', models.NullBooleanField()), ], options={ - 'db_table': 'scipost_Nomination', + 'db_table': 'scipost_nomination', }, ), migrations.CreateModel( @@ -75,7 +75,7 @@ class Migration(migrations.Migration): ('information', models.TextField(default='')), ], options={ - 'db_table': 'scipost_VGM', + 'db_table': 'scipost_vgm', }, ), migrations.AddField( diff --git a/virtualmeetings/models.py b/virtualmeetings/models.py index 6346e7cb60b91f399e680747a2009c3334b6c258..55aaacefe039c513e6f0a63644e44d2d4f59c46c 100644 --- a/virtualmeetings/models.py +++ b/virtualmeetings/models.py @@ -21,7 +21,7 @@ class VGM(models.Model): information = models.TextField(default='') class Meta: - db_table = 'scipost_VGM' + db_table = 'scipost_vgm' def __str__(self): return 'From %s to %s' % (self.start_date.strftime('%Y-%m-%d'), @@ -38,7 +38,7 @@ class Feedback(models.Model): feedback = models.TextField() class Meta: - db_table = 'scipost_Feedback' + db_table = 'scipost_feedback' def __str__(self): return '%s: %s' % (self.by, self.feedback[:50]) @@ -85,7 +85,7 @@ class Nomination(models.Model): accepted = models.NullBooleanField() class Meta: - db_table = 'scipost_Nomination' + db_table = 'scipost_nomination' def __str__(self): return '%s %s (nominated by %s)' % (self.first_name, @@ -172,7 +172,7 @@ class Motion(models.Model): accepted = models.NullBooleanField() class Meta: - db_table = 'scipost_Motion' + db_table = 'scipost_motion' def __str__(self): return self.motion[:32]