

def forwards(self, orm):
    db.create_table('forums_category', (('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=255)), ('position', self.gf('django.db.models.fields.IntegerField')(default=0))))
    db.send_create_signal('forums', ['Category'])
    db.create_table('forums_forum', (('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('category', self.gf('django.db.models.fields.related.ForeignKey')(related_name='forums', to=orm['forums.Category'])), ('name', self.gf('django.db.models.fields.CharField')(max_length=255)), ('position', self.gf('django.db.models.fields.IntegerField')(default=0)), ('description', self.gf('django.db.models.fields.TextField')(blank=True))))
    db.send_create_signal('forums', ['Forum'])
    db.create_table('forums_topic', (('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('forum', self.gf('django.db.models.fields.related.ForeignKey')(related_name='topics', to=orm['forums.Forum'])), ('name', self.gf('django.db.models.fields.CharField')(max_length=255)), ('last_post', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='forum_last_post', null=True, to=orm['forums.Post']))))
    db.send_create_signal('forums', ['Topic'])
    db.create_table('forums_post', (('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('topic', self.gf('django.db.models.fields.related.ForeignKey')(related_name='posts', to=orm['forums.Topic'])), ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='forum_posts', to=orm['auth.User'])), ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), ('updated', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), ('body', self.gf('django.db.models.fields.TextField')())))
    db.send_create_signal('forums', ['Post'])

dataset/ETHPy150Open byteweaver/django-forums/forums/migrations/0001_initial.py Migration.forwards/original