squash migrations

This commit is contained in:
meeb committed 2020-12-12 20:13:30 +11:00
1 parent 09eb057392
commit 4117bb4446
6 files changed
+18 -115

No files matched your search

+18 -1
View File
@@ -1,4 +1,4 @@
# Generated by Django 3.1.4 on 2020-12-11 06:15
# Generated by Django 3.1.4 on 2020-12-12 09:13
import django.core.files.storage
from django.db import migrations, models
@@ -41,6 +41,23 @@ class Migration(migrations.Migration):
'verbose_name_plural': 'Sources',
},
),
migrations.CreateModel(
name='MediaServer',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('server_type', models.CharField(choices=[('p', 'Plex')], db_index=True, default='p', help_text='Server type', max_length=1, verbose_name='server type')),
('host', models.CharField(db_index=True, help_text='Hostname or IP address of the media server', max_length=200, verbose_name='host')),
('port', models.PositiveIntegerField(db_index=True, help_text='Port number of the media server', verbose_name='port')),
('use_https', models.BooleanField(default=True, help_text='Connect to the media server over HTTPS', verbose_name='use https')),
('verify_https', models.BooleanField(default=False, help_text='If connecting over HTTPS, verify the SSL certificate is valid', verbose_name='verify https')),
('options', models.TextField(blank=True, help_text='JSON encoded options for the media server', null=True, verbose_name='options')),
],
options={
'verbose_name': 'Media Server',
'verbose_name_plural': 'Media Servers',
'unique_together': {('host', 'port')},
},
),
migrations.CreateModel(
name='Media',
fields=[