# -*- coding: utf-8 -*-
from south.utils import datetime_utils as 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 'Entity'
db.create_table(u'entity_entity', (
(u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
('name', self.gf('django.db.models.fields.CharField')(max_length=200)),
('actual_entity_class', self.gf('django.db.models.fields.CharField')(max_length=200)),
('actual_entity_app', self.gf('django.db.models.fields.CharField')(max_length=200)),
))
db.send_create_signal(u'entity', ['Entity'])
# Adding model 'SearchConfiguration'
db.create_table(u'entity_searchconfiguration', (
(u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
('proxy_url', self.gf('django.db.models.fields.CharField')(max_length=300)),
('proxy_port', self.gf('django.db.models.fields.CharField')(max_length=10)),
('proxy_user', self.gf('django.db.models.fields.CharField')(max_length=50)),
('proxy_password', self.gf('django.db.models.fields.CharField')(max_length=50)),
))
db.send_create_signal(u'entity', ['SearchConfiguration'])
def backwards(self, orm):
# Deleting model 'Entity'
db.delete_table(u'entity_entity')
# Deleting model 'SearchConfiguration'
db.delete_table(u'entity_searchconfiguration')
models = {
u'entity.entity': {
'Meta': {'object_name': 'Entity'},
'actual_entity_app': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
'actual_entity_class': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
},
u'entity.searchconfiguration': {
'Meta': {'object_name': 'SearchConfiguration'},
u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'proxy_password': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
'proxy_port': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
'proxy_url': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
'proxy_user': ('django.db.models.fields.CharField', [], {'max_length': '50'})
}
}
complete_apps = ['entity']