1
|
# -*- coding: utf-8 -*-
|
2
|
import datetime
|
3
|
from south.db import db
|
4
|
from south.v2 import SchemaMigration
|
5
|
from django.db import models
|
6
|
|
7
|
|
8
|
class Migration(SchemaMigration):
|
9
|
|
10
|
def forwards(self, orm):
|
11
|
# Adding model 'WcsInstance'
|
12
|
db.create_table(u'wcsinst_wcsinstance', (
|
13
|
(u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
|
14
|
('title', self.gf('django.db.models.fields.CharField')(max_length=50)),
|
15
|
('domain', self.gf('django.db.models.fields.CharField')(max_length=100)),
|
16
|
))
|
17
|
db.send_create_signal(u'wcsinst', ['WcsInstance'])
|
18
|
|
19
|
|
20
|
def backwards(self, orm):
|
21
|
# Deleting model 'WcsInstance'
|
22
|
db.delete_table(u'wcsinst_wcsinstance')
|
23
|
|
24
|
|
25
|
models = {
|
26
|
u'wcsinst.wcsinstance': {
|
27
|
'Meta': {'object_name': 'WcsInstance'},
|
28
|
'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
|
29
|
u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
30
|
'title': ('django.db.models.fields.CharField', [], {'max_length': '50'})
|
31
|
}
|
32
|
}
|
33
|
|
34
|
complete_apps = ['wcsinst']
|