Ajout fichier de migration bd
This commit is contained in:
parent
b5e86e9d94
commit
12bcce0add
|
@ -0,0 +1,18 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('grandlyon_elyx', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameModel(
|
||||
old_name='TestConnector',
|
||||
new_name='grandlyonElyx',
|
||||
),
|
||||
]
|
|
@ -0,0 +1,23 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('grandlyon_elyx', '0002_auto_20180828_1339'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='grandlyonelyx',
|
||||
name='wsdl_url',
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='grandlyonelyx',
|
||||
name='log_level',
|
||||
field=models.CharField(default=b'INFO', max_length=10, verbose_name='Log Level', choices=[(b'NOTSET', b'NOTSET'), (b'DEBUG', b'DEBUG'), (b'INFO', b'INFO'), (b'WARNING', b'WARNING'), (b'ERROR', b'ERROR'), (b'CRITICAL', b'CRITICAL')]),
|
||||
),
|
||||
]
|
|
@ -0,0 +1,38 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('grandlyon_elyx', '0003_auto_20181112_1722'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='grandlyonelyx',
|
||||
name='password',
|
||||
field=models.CharField(default='password', max_length=128, verbose_name='Password'),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='grandlyonelyx',
|
||||
name='scope',
|
||||
field=models.CharField(default='scope', max_length=128, verbose_name=b'Scope du service'),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='grandlyonelyx',
|
||||
name='service_url',
|
||||
field=models.URLField(default='service_url', max_length=256, verbose_name=b'URL du service'),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='grandlyonelyx',
|
||||
name='username',
|
||||
field=models.CharField(default='username', max_length=128, verbose_name='Username'),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
Loading…
Reference in New Issue