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):
|
|
|
|
|
2019-06-16 12:32:24 +00:00
|
|
|
dependencies = [("sponsors", "0001_initial")]
|
2017-07-15 09:00:59 +00:00
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
2019-06-16 12:32:24 +00:00
|
|
|
name="SponsorTier",
|
2017-07-15 09:00:59 +00:00
|
|
|
fields=[
|
2019-06-16 12:32:24 +00:00
|
|
|
(
|
|
|
|
"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."
|
|
|
|
),
|
|
|
|
),
|
2017-07-15 09:00:59 +00:00
|
|
|
],
|
2019-06-16 12:32:24 +00:00
|
|
|
options={"abstract": False},
|
2017-07-15 09:00:59 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2019-06-16 12:32:24 +00:00
|
|
|
model_name="sponsor",
|
|
|
|
name="tier",
|
|
|
|
field=models.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.CASCADE, to="sponsors.SponsorTier"
|
|
|
|
),
|
2017-07-15 09:00:59 +00:00
|
|
|
),
|
|
|
|
]
|