Commit b2e3d940bba8bd1f60bda2650117acf96123c8c6

Authored by Etienne Pallier
1 parent e36526c3
Exists in dev

fixed Majordome table name

Showing 1 changed file with 9 additions and 1 deletions   Show diff stats
src/core/pyros_django/common/models.py
... ... @@ -2678,6 +2678,9 @@ class Majordome(models.Model):
2678 2678 default = DAY_MODE,
2679 2679 max_length=15
2680 2680 )
  2681 + class Meta:
  2682 + managed = True
  2683 + db_table = 'majordome'
2681 2684  
2682 2685 @classmethod
2683 2686 def object(cls):
... ... @@ -2710,4 +2713,9 @@ class Tickets:
2710 2713 (LEVEL_FOUR,"Known issue without immediate solution"),
2711 2714 (LEVEL_FIVE,"Issue not categorized until it happened")
2712 2715 )
2713   - security_level = models.TextField(choices=SECURITY_LEVEL_CHOICES, default=LEVEL_ONE)
2714 2716 \ No newline at end of file
  2717 + security_level = models.TextField(choices=SECURITY_LEVEL_CHOICES, default=LEVEL_ONE)
  2718 +
  2719 + class Meta:
  2720 + managed = True
  2721 + db_table = 'tickets'
  2722 + verbose_name_plural = "tickets"
2715 2723 \ No newline at end of file
... ...