X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e6fc1b86fcdb4f99c00d4218fcaa5eab6f64c4cb..ae60b2a3949e96357477cc04f90fd0873cee8a92:/apps/chunks/migrations/0001_initial.py diff --git a/apps/chunks/migrations/0001_initial.py b/apps/chunks/migrations/0001_initial.py deleted file mode 100644 index fa51499ae..000000000 --- a/apps/chunks/migrations/0001_initial.py +++ /dev/null @@ -1,49 +0,0 @@ -# -*- coding: utf-8 -*- -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding model 'Chunk' - db.create_table(u'chunks_chunk', ( - ('key', self.gf('django.db.models.fields.CharField')(max_length=255, primary_key=True)), - ('description', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), - ('content', self.gf('django.db.models.fields.TextField')(blank=True)), - )) - db.send_create_signal(u'chunks', ['Chunk']) - - # Adding model 'Attachment' - db.create_table(u'chunks_attachment', ( - ('key', self.gf('django.db.models.fields.CharField')(max_length=255, primary_key=True)), - ('attachment', self.gf('django.db.models.fields.files.FileField')(max_length=100)), - )) - db.send_create_signal(u'chunks', ['Attachment']) - - - def backwards(self, orm): - # Deleting model 'Chunk' - db.delete_table(u'chunks_chunk') - - # Deleting model 'Attachment' - db.delete_table(u'chunks_attachment') - - - models = { - u'chunks.attachment': { - 'Meta': {'ordering': "('key',)", 'object_name': 'Attachment'}, - 'attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'key': ('django.db.models.fields.CharField', [], {'max_length': '255', 'primary_key': 'True'}) - }, - u'chunks.chunk': { - 'Meta': {'ordering': "('key',)", 'object_name': 'Chunk'}, - 'content': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'max_length': '255', 'primary_key': 'True'}) - } - } - - complete_apps = ['chunks'] \ No newline at end of file