regluit/marc/migrations/0001_initial.py

27 lines
895 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
2016-07-21 19:38:09 +00:00
from __future__ import unicode_literals
from django.db import migrations, models
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('core', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='MARCRecord',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('guts', models.TextField()),
('created', models.DateTimeField(auto_now_add=True)),
('edition', models.ForeignKey(related_name='MARCRecords', to='core.Edition', null=True)),
('user', models.ForeignKey(related_name='MARCRecords', to=settings.AUTH_USER_MODEL, null=True)),
],
),
]