1 # -*- coding: utf-8 -*-
3 from south.db import db
4 from south.v2 import SchemaMigration
5 from django.db import models
8 class Migration(SchemaMigration):
10 def forwards(self, orm):
11 # Adding model 'Service'
12 db.create_table(u'accounts_service', (
13 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
14 ('ordering', self.gf('django.db.models.fields.IntegerField')()),
15 ('name', self.gf('django.db.models.fields.CharField')(max_length=255)),
16 ('url', self.gf('django.db.models.fields.URLField')(max_length=200)),
17 ('image', self.gf('django.db.models.fields.files.ImageField')(max_length=100)),
19 db.send_create_signal(u'accounts', ['Service'])
22 def backwards(self, orm):
23 # Deleting model 'Service'
24 db.delete_table(u'accounts_service')
28 u'accounts.service': {
29 'Meta': {'ordering': "('ordering',)", 'object_name': 'Service'},
30 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
31 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}),
32 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
33 'ordering': ('django.db.models.fields.IntegerField', [], {}),
34 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'})
38 complete_apps = ['accounts']