You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Enso-Bot/venv/Lib/site-packages/south/tests/fakeapp/migrations/0001_spam.py

18 lines
494 B
Python

from south.db import db
from django.db import models
class Migration:
def forwards(self):
# Model 'Spam'
db.create_table("southtest_spam", (
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
('weight', models.FloatField()),
('expires', models.DateTimeField()),
('name', models.CharField(max_length=255))
))
def backwards(self):
db.delete_table("southtest_spam")