bornhack-website/src/sponsors/migrations/0002_auto_20170711_2341.py

35 lines
1.2 KiB
Python
Raw Normal View History

2017-07-15 09:00:59 +00:00
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-07-11 21:41
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('sponsors', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='SponsorTier',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created', models.DateTimeField(auto_now_add=True)),
('updated', models.DateTimeField(auto_now=True)),
('name', models.CharField(help_text='Name of the tier (gold, silver, etc.)', max_length=25)),
('description', models.TextField(help_text='A description of what the tier includes.')),
],
options={
'abstract': False,
},
),
migrations.AlterField(
model_name='sponsor',
name='tier',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='sponsors.SponsorTier'),
),
]