Updates migrations
To get the app working again I ran resetdb, let it crash in initdb, then ran the migration, then re-ran initdb
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
# Generated by Django 3.0.3 on 2020-06-01 21:31
|
||||
|
||||
from django.db import migrations, models
|
||||
import fedireads.models.site
|
||||
import bookwyrm.models.site
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('fedireads', '0042_sitesettings'),
|
||||
('bookwyrm', '0042_sitesettings'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
@ -15,7 +15,7 @@ class Migration(migrations.Migration):
|
||||
name='SiteInvite',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('code', models.CharField(default=fedireads.models.site.new_invite_code, max_length=32)),
|
||||
('code', models.CharField(default=bookwyrm.models.site.new_invite_code, max_length=32)),
|
||||
('expiry', models.DateTimeField(blank=True, null=True)),
|
||||
('use_limit', models.IntegerField(blank=True, null=True)),
|
||||
('times_used', models.IntegerField(default=0)),
|
||||
|
Reference in New Issue
Block a user