Permalink
Browse files

Adding our initial south migrations for 'django_twilio'.

  • Loading branch information...
1 parent 3c69e97 commit 6c5106a072232b02c0721965c19b3d45e0da46f2 @randalldegges-okta-2 randalldegges-okta-2 committed Apr 8, 2012
Showing with 32 additions and 0 deletions.
  1. +32 −0 django_twilio/migrations/0001_initial.py
  2. 0 django_twilio/migrations/__init__.py
@@ -0,0 +1,32 @@
+# -*- 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 'Caller'
+ db.create_table('django_twilio_caller', (
+ ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+ ('blacklisted', self.gf('django.db.models.fields.BooleanField')(default=False)),
+ ('phone_number', self.gf('django.db.models.fields.CharField')(unique=True, max_length=20)),
+ ))
+ db.send_create_signal('django_twilio', ['Caller'])
+
+ def backwards(self, orm):
+ # Deleting model 'Caller'
+ db.delete_table('django_twilio_caller')
+
+ models = {
+ 'django_twilio.caller': {
+ 'Meta': {'object_name': 'Caller'},
+ 'blacklisted': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
+ 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'phone_number': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '20'})
+ }
+ }
+
+ complete_apps = ['django_twilio']
No changes.

0 comments on commit 6c5106a

Please sign in to comment.