Skip to content

Commit b9eecf6

Browse files
committed
WARNING: remove db_table names
1 parent 484f6ad commit b9eecf6

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

timeside/server/models.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ class Selection(Titled, UUID, Dated, Shareable):
190190
selections = models.ManyToManyField('Selection', related_name="other_selections", verbose_name=_('other selections'), blank=True)
191191

192192
class Meta:
193-
db_table = app + '_selections'
194193
verbose_name = _('selection')
195194

196195
def get_all_items(self):
@@ -215,7 +214,6 @@ class Item(Titled, UUID, Dated, Shareable):
215214
provider = models.ForeignKey('Provider', verbose_name=_('provider'), blank=True, null=True)
216215

217216
class Meta:
218-
db_table = app + '_items'
219217
ordering = ['title']
220218
verbose_name = _('item')
221219

@@ -411,7 +409,6 @@ class Experience(Titled, UUID, Dated, Shareable):
411409
experiences = models.ManyToManyField('Experience', related_name="other_experiences", verbose_name=_('other experiences'), blank=True)
412410

413411
class Meta:
414-
db_table = app + '_experiences'
415412
verbose_name = _('Experience')
416413

417414

@@ -426,7 +423,6 @@ def __init__(self, *args, **kwargs):
426423
self._meta.get_field('pid')._choices = lazy(get_processor_pids, list)()
427424

428425
class Meta:
429-
db_table = app + '_processors'
430426
verbose_name = _('processor')
431427

432428
def __str__(self):
@@ -461,7 +457,6 @@ class SubProcessor(models.Model):
461457
processor = models.ForeignKey('Processor', related_name="sub_results", verbose_name=_('processor'), blank=True, null=True)
462458

463459
class Meta:
464-
db_table = app + '_subprocessors'
465460
verbose_name = _('Subprocessor')
466461

467462
def __str__(self):
@@ -476,7 +471,6 @@ class Preset(UUID, Dated, Shareable):
476471
# see : http://stackoverflow.com/questions/22600056/django-south-changing-field-type-in-data-migration
477472

478473
class Meta:
479-
db_table = app + '_presets'
480474
verbose_name = _('Preset')
481475
verbose_name_plural = _('Presets')
482476

@@ -511,7 +505,6 @@ class Result(UUID, Dated, Shareable):
511505
# lock = models.BooleanField(default=False)
512506

513507
class Meta:
514-
db_table = app + '_results'
515508
verbose_name = _('Result')
516509
verbose_name_plural = _('Results')
517510

@@ -550,7 +543,6 @@ class Task(UUID, Dated, Shareable):
550543
status = models.IntegerField(_('status'), choices=STATUS, default=_DRAFT)
551544

552545
class Meta:
553-
db_table = app + '_tasks'
554546
verbose_name = _('Task')
555547
verbose_name_plural = _('Tasks')
556548

@@ -604,7 +596,6 @@ class Analysis(Titled, UUID, Dated, Shareable):
604596
parameters_schema = jsonfield.JSONField(default=DEFAULT_SCHEMA())
605597

606598
class Meta:
607-
db_table = app + '_analysis'
608599
verbose_name = _('Analysis')
609600
verbose_name_plural = _('Analyses')
610601

@@ -615,7 +606,6 @@ class AnalysisTrack(Titled, UUID, Dated, Shareable):
615606
item = models.ForeignKey(Item, related_name='analysis_tracks', verbose_name=_('item'), blank=False)
616607

617608
class Meta:
618-
db_table = app + '_analysis_tracks'
619609
verbose_name = _('Analysis Track')
620610

621611

@@ -625,7 +615,6 @@ class AnnotationTrack(Titled, UUID, Dated, Shareable):
625615
overlapping = models.BooleanField(default=False)
626616

627617
class Meta:
628-
db_table = app + '_annotation_tracks'
629618
verbose_name = _('Annotation Track')
630619

631620

0 commit comments

Comments
 (0)