Added a missing migration.
- Legacy-Id: 11962
This commit is contained in:
parent
5f3f8c5187
commit
d22979c93e
29
ietf/message/migrations/0002_messageattachment.py
Normal file
29
ietf/message/migrations/0002_messageattachment.py
Normal file
|
@ -0,0 +1,29 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('message', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='MessageAttachment',
|
||||
fields=[
|
||||
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
||||
('filename', models.CharField(db_index=True, max_length=255, blank=True)),
|
||||
('content_type', models.CharField(max_length=255, blank=True)),
|
||||
('encoding', models.CharField(max_length=255, blank=True)),
|
||||
('removed', models.BooleanField(default=False)),
|
||||
('body', models.TextField()),
|
||||
('message', models.ForeignKey(to='message.Message')),
|
||||
],
|
||||
options={
|
||||
},
|
||||
bases=(models.Model,),
|
||||
),
|
||||
]
|
Loading…
Reference in a new issue