summaryrefslogtreecommitdiffstats
path: root/troggle-inspectdb.py
diff options
context:
space:
mode:
Diffstat (limited to 'troggle-inspectdb.py')
-rw-r--r--troggle-inspectdb.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/troggle-inspectdb.py b/troggle-inspectdb.py
index c7a2514..e7f9401 100644
--- a/troggle-inspectdb.py
+++ b/troggle-inspectdb.py
@@ -15,3 +15,14 @@
from __future__ import unicode_literals
from django.db import models
+
+
+class DjangoMigrations(models.Model):
+ id = models.IntegerField(primary_key=True) # AutoField?
+ app = models.CharField(max_length=255)
+ name = models.CharField(max_length=255)
+ applied = models.DateTimeField()
+
+ class Meta:
+ managed = False
+ db_table = 'django_migrations'