migrate model
This commit is contained in:
parent
98b7e2817c
commit
9b52184910
27
ffplayout/api/migrations/0001_initial.py
Normal file
27
ffplayout/api/migrations/0001_initial.py
Normal file
@ -0,0 +1,27 @@
|
||||
# Generated by Django 3.0.5 on 2020-04-15 08:38
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='GuiSettings',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('playerUrl', models.CharField(max_length=255)),
|
||||
('playoutConfig', models.CharField(max_length=255)),
|
||||
('netInterface', models.CharField(max_length=20)),
|
||||
('mediaDisk', models.CharField(max_length=255)),
|
||||
],
|
||||
options={
|
||||
'verbose_name_plural': 'guisettings',
|
||||
},
|
||||
),
|
||||
]
|
33
ffplayout/api/migrations/0002_auto_20200415_1232.py
Normal file
33
ffplayout/api/migrations/0002_auto_20200415_1232.py
Normal file
@ -0,0 +1,33 @@
|
||||
# Generated by Django 3.0.5 on 2020-04-15 12:32
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('api', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='guisettings',
|
||||
old_name='mediaDisk',
|
||||
new_name='media_disk',
|
||||
),
|
||||
migrations.RenameField(
|
||||
model_name='guisettings',
|
||||
old_name='netInterface',
|
||||
new_name='net_interface',
|
||||
),
|
||||
migrations.RenameField(
|
||||
model_name='guisettings',
|
||||
old_name='playerUrl',
|
||||
new_name='player_url',
|
||||
),
|
||||
migrations.RenameField(
|
||||
model_name='guisettings',
|
||||
old_name='playoutConfig',
|
||||
new_name='playout_config',
|
||||
),
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user