Commit 411147f7 authored by Vasyl Bodnaruk's avatar Vasyl Bodnaruk

Add alias model

parent 89e8889b
......@@ -398,6 +398,16 @@ class WpEsiTag(models.Model):
return self.name
class WpEsiTagAlias(models.Model):
tag_id = models.IntegerField(primary_key=True)
alias = models.CharField(max_length=255)
class Meta:
managed = False
db_table = 'wp_esi_tag_alias'
unique_together = (('tag_id', 'alias'),)
class WpEsiTagEntity(models.Model):
tag_id = models.IntegerField(primary_key=True)
entity_id = models.IntegerField()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment