28 lines
848 B
Python
28 lines
848 B
Python
# Generated by Django 2.2.1 on 2019-05-27 12:56
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
import django.utils.timezone
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('projects', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Issue',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('title', models.CharField(max_length=200)),
|
|
('text', models.TextField(blank=True)),
|
|
('create_date', models.DateTimeField(default=django.utils.timezone.now)),
|
|
('project', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='projects.Project')),
|
|
],
|
|
),
|
|
]
|