0001-clicrdv-restore-deleted-migrations-30560.patch
passerelle/apps/clicrdv/migrations/0001_initial.py | ||
---|---|---|
1 |
# -*- coding: utf-8 -*- |
|
2 |
from __future__ import unicode_literals |
|
3 | ||
4 |
from django.db import models, migrations |
|
5 | ||
6 | ||
7 |
class Migration(migrations.Migration): |
|
8 | ||
9 |
dependencies = [ |
|
10 |
('datasources', '0001_initial'), |
|
11 |
] |
|
12 | ||
13 |
operations = [ |
|
14 |
migrations.CreateModel( |
|
15 |
name='ClicRdv', |
|
16 |
fields=[ |
|
17 |
('basedatasource_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='datasources.BaseDataSource')), |
|
18 |
('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)')])), |
|
19 |
('apikey', models.CharField(max_length=64)), |
|
20 |
('username', models.CharField(max_length=64)), |
|
21 |
('password', models.CharField(max_length=64)), |
|
22 |
('websource', models.CharField(max_length=64, null=True, blank=True)), |
|
23 |
('default_comment', models.CharField(max_length=250, null=True, blank=True)), |
|
24 |
], |
|
25 |
options={ |
|
26 |
'verbose_name': 'Clicrdv Agenda', |
|
27 |
}, |
|
28 |
bases=('datasources.basedatasource',), |
|
29 |
), |
|
30 |
] |
passerelle/apps/clicrdv/migrations/0002_clicrdv_group_id.py | ||
---|---|---|
1 |
# -*- coding: utf-8 -*- |
|
2 |
from __future__ import unicode_literals |
|
3 | ||
4 |
from django.db import migrations, models |
|
5 | ||
6 | ||
7 |
class Migration(migrations.Migration): |
|
8 | ||
9 |
dependencies = [ |
|
10 |
('clicrdv', '0001_initial'), |
|
11 |
] |
|
12 | ||
13 |
operations = [ |
|
14 |
migrations.AddField( |
|
15 |
model_name='clicrdv', |
|
16 |
name='group_id', |
|
17 |
field=models.IntegerField(default=5242), # aka vincennes migration |
|
18 |
), |
|
19 |
] |
passerelle/apps/clicrdv/migrations/0003_auto_20160920_0903.py | ||
---|---|---|
1 |
# -*- coding: utf-8 -*- |
|
2 |
from __future__ import unicode_literals |
|
3 | ||
4 |
from django.db import migrations, models |
|
5 | ||
6 | ||
7 |
class Migration(migrations.Migration): |
|
8 | ||
9 |
dependencies = [ |
|
10 |
('clicrdv', '0002_clicrdv_group_id'), |
|
11 |
] |
|
12 | ||
13 |
operations = [ |
|
14 |
migrations.AlterField( |
|
15 |
model_name='clicrdv', |
|
16 |
name='group_id', |
|
17 |
field=models.IntegerField(default=0), |
|
18 |
), |
|
19 |
] |
passerelle/apps/clicrdv/migrations/0004_newclicrdv.py | ||
---|---|---|
1 |
# -*- coding: utf-8 -*- |
|
2 |
from django.db import migrations, models |
|
3 | ||
4 |
class Migration(migrations.Migration): |
|
5 | ||
6 |
dependencies = [ |
|
7 |
('base', '0002_auto_20151009_0326'), |
|
8 |
('contenttypes', '0001_initial'), |
|
9 |
('clicrdv', '0003_auto_20160920_0903'), |
|
10 |
] |
|
11 | ||
12 |
operations = [ |
|
13 |
migrations.CreateModel( |
|
14 |
name='NewClicRdv', |
|
15 |
fields=[ |
|
16 |
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), |
|
17 |
('title', models.CharField(verbose_name='Title', max_length=50)), |
|
18 |
('slug', models.SlugField(verbose_name='Identifier')), |
|
19 |
('description', models.TextField(verbose_name='Description')), |
|
20 |
('log_level', models.CharField(default=b'NOTSET', 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'), (b'FATAL', b'FATAL')])), |
|
21 |
('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)')])), |
|
22 |
('group_id', models.IntegerField(default=0)), |
|
23 |
('apikey', models.CharField(max_length=64)), |
|
24 |
('username', models.CharField(max_length=64)), |
|
25 |
('password', models.CharField(max_length=64)), |
|
26 |
('websource', models.CharField(max_length=64, null=True, blank=True)), |
|
27 |
('default_comment', models.CharField(max_length=250, null=True, blank=True)), |
|
28 |
('users', models.ManyToManyField(to='base.ApiUser', blank=True)), |
|
29 |
], |
|
30 |
options={ |
|
31 |
'verbose_name': 'Clicrdv Agenda', |
|
32 |
}, |
|
33 |
), |
|
34 |
] |
passerelle/apps/clicrdv/migrations/0005_auto_20161218_1701.py | ||
---|---|---|
1 |
# -*- coding: utf-8 -*- |
|
2 |
from __future__ import unicode_literals |
|
3 | ||
4 |
from django.db import migrations, models |
|
5 | ||
6 | ||
7 |
class Migration(migrations.Migration): |
|
8 | ||
9 |
dependencies = [ |
|
10 |
('clicrdv', '0004_newclicrdv'), |
|
11 |
] |
|
12 | ||
13 |
operations = [ |
|
14 |
migrations.DeleteModel(name='ClicRdv'), |
|
15 |
migrations.RenameModel('NewClicRdv', 'ClicRdv'), |
|
16 |
] |
passerelle/apps/clicrdv/migrations/0006_auto_20170920_0951.py | ||
---|---|---|
1 |
# -*- coding: utf-8 -*- |
|
2 |
from __future__ import unicode_literals |
|
3 | ||
4 |
from django.db import migrations, models |
|
5 | ||
6 | ||
7 |
class Migration(migrations.Migration): |
|
8 | ||
9 |
dependencies = [ |
|
10 |
('clicrdv', '0005_auto_20161218_1701'), |
|
11 |
] |
|
12 | ||
13 |
operations = [ |
|
14 |
migrations.AlterField( |
|
15 |
model_name='clicrdv', |
|
16 |
name='slug', |
|
17 |
field=models.SlugField(unique=True), |
|
18 |
), |
|
19 |
] |
|
0 |
- |