First working version
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Generated by Django 3.1.1 on 2021-03-11 23:11
|
||||
# Generated by Django 3.1.7 on 2021-03-11 22:07
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
@@ -18,8 +18,8 @@ class Migration(migrations.Migration):
|
||||
name='UserStorage',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.SlugField(help_text='Storage tag', max_length=20)),
|
||||
('storage', models.CharField(help_text='Storage class for this instance', max_length=255)),
|
||||
('name', models.SlugField(help_text='Storage tag', max_length=20, unique=True)),
|
||||
('storage', models.CharField(choices=[('django.core.files.storage.FileSystemStorage', 'django.core.files.storage.FileSystemStorage')], help_text='Storage class for this instance', max_length=255)),
|
||||
('settings_data', models.TextField(help_text='JSON dict with key/value settings')),
|
||||
('owner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
|
||||
],
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
# Generated by Django 3.1.7 on 2021-03-11 18:26
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('byostorage', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='userstorage',
|
||||
name='storage',
|
||||
field=models.CharField(choices=[], help_text='Storage class for this instance', max_length=255),
|
||||
),
|
||||
]
|
||||
@@ -1,23 +0,0 @@
|
||||
# Generated by Django 3.1.7 on 2021-03-11 19:17
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('byostorage', '0002_auto_20210311_1826'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='userstorage',
|
||||
name='name',
|
||||
field=models.SlugField(help_text='Storage tag', max_length=20, unique=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='userstorage',
|
||||
name='storage',
|
||||
field=models.CharField(choices=[('django.core.files.storage.FileSystemStorage', 'django.core.files.storage.FileSystemStorage')], help_text='Storage class for this instance', max_length=255),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user