Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding our initial south migrations for 'django_twilio'.

  • Loading branch information...
commit 6c5106a072232b02c0721965c19b3d45e0da46f2 1 parent 3c69e97
Randall Degges authored
View
32 django_twilio/migrations/0001_initial.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']
View
0  django_twilio/migrations/__init__.py
No changes.
Please sign in to comment.
Something went wrong with that request. Please try again.