2014-10-17 21:14:02 +00:00
|
|
|
# -*- 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)),
|
2018-07-24 03:48:35 +00:00
|
|
|
('edition', models.ForeignKey(on_delete=models.CASCADE, related_name='MARCRecords', to='core.Edition', null=True)),
|
|
|
|
('user', models.ForeignKey(on_delete=models.CASCADE, related_name='MARCRecords', to=settings.AUTH_USER_MODEL, null=True)),
|
2016-07-21 19:38:09 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
]
|