Skip to content

Commit

Permalink
* Rebuild the migrations for the model changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgroff committed Apr 7, 2017
1 parent 4f18c97 commit aa6094d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion django_kala/accounts/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-04-05 00:23
# Generated by Django 1.11 on 2017-04-06 03:52
from __future__ import unicode_literals

import django.contrib.auth.models
Expand Down
2 changes: 1 addition & 1 deletion django_kala/companies/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-04-05 00:23
# Generated by Django 1.11 on 2017-04-06 03:52
from __future__ import unicode_literals

from django.db import migrations, models
Expand Down
9 changes: 6 additions & 3 deletions django_kala/documents/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-04-05 00:23
# Generated by Django 1.11 on 2017-04-06 03:52
from __future__ import unicode_literals

from django.conf import settings
Expand Down Expand Up @@ -27,6 +27,7 @@ class Migration(migrations.Migration):
('removed', models.DateField(null=True)),
('mime', models.CharField(max_length=255, null=True)),
('is_active', models.BooleanField(default=True)),
('category', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='projects.Category')),
('project', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='projects.Project')),
],
options={
Expand All @@ -38,7 +39,9 @@ class Migration(migrations.Migration):
name='DocumentVersion',
fields=[
('uuid', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('file', models.FileField(max_length=255, upload_to='')),
('file', models.FileField(null=True, upload_to='')),
('url', models.URLField()),
('size', models.IntegerField()),
('description', models.TextField(null=True)),
('created', models.DateTimeField()),
('changed', models.DateTimeField(auto_now=True)),
Expand All @@ -48,9 +51,9 @@ class Migration(migrations.Migration):
('person', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
options={
'db_table': 'kala_document_version',
'ordering': ['name', 'created'],
'get_latest_by': 'created',
'db_table': 'kala_document_version',
},
),
]
4 changes: 2 additions & 2 deletions django_kala/projects/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-04-05 00:23
# Generated by Django 1.11 on 2017-04-06 03:52
from __future__ import unicode_literals

from django.conf import settings
Expand All @@ -12,8 +12,8 @@ class Migration(migrations.Migration):
initial = True

dependencies = [
('companies', '0001_initial'),
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('companies', '0001_initial'),
]

operations = [
Expand Down

0 comments on commit aa6094d

Please sign in to comment.