clicrdv: edit migrations to avoid passerelle.datasources references (#31059)
This commit is contained in:
parent
8751dcb683
commit
6884d84f8c
|
@ -7,24 +7,7 @@ from django.db import models, migrations
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('datasources', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='ClicRdv',
|
||||
fields=[
|
||||
('basedatasource_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='datasources.BaseDataSource')),
|
||||
('server', models.CharField(default=b'sandbox.clicrdv.com', max_length=64, choices=[(b'www.clicrdv.com', b'Production (www.clicrdv.com)'), (b'sandbox.clicrdv.com', b'SandBox (sandbox.clicrdv.com)')])),
|
||||
('apikey', models.CharField(max_length=64)),
|
||||
('username', models.CharField(max_length=64)),
|
||||
('password', models.CharField(max_length=64)),
|
||||
('websource', models.CharField(max_length=64, null=True, blank=True)),
|
||||
('default_comment', models.CharField(max_length=250, null=True, blank=True)),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Clicrdv Agenda',
|
||||
},
|
||||
bases=('datasources.basedatasource',),
|
||||
),
|
||||
]
|
||||
|
|
|
@ -13,7 +13,6 @@ class Migration(migrations.Migration):
|
|||
|
||||
dependencies = [
|
||||
('base', '0002_auto_20151009_0326'),
|
||||
('datasources', '0001_initial'),
|
||||
('contenttypes', '0001_initial'),
|
||||
]
|
||||
|
||||
|
|
|
@ -11,9 +11,4 @@ class Migration(migrations.Migration):
|
|||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='clicrdv',
|
||||
name='group_id',
|
||||
field=models.IntegerField(default=5242), # aka vincennes migration
|
||||
),
|
||||
]
|
||||
|
|
|
@ -7,13 +7,13 @@ from django.db import migrations
|
|||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
dependencies = [
|
||||
('clicrdv', '0001_squashed_0006_auto_20170920_0951'),
|
||||
]
|
||||
]
|
||||
|
||||
operations = [
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='clicrdv',
|
||||
name=b'log_level',
|
||||
),
|
||||
]
|
||||
]
|
||||
|
|
|
@ -11,9 +11,4 @@ class Migration(migrations.Migration):
|
|||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='clicrdv',
|
||||
name='group_id',
|
||||
field=models.IntegerField(default=0),
|
||||
),
|
||||
]
|
||||
|
|
|
@ -11,6 +11,5 @@ class Migration(migrations.Migration):
|
|||
]
|
||||
|
||||
operations = [
|
||||
migrations.DeleteModel(name='ClicRdv'),
|
||||
migrations.RenameModel('NewClicRdv', 'ClicRdv'),
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue