Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
re2o
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nounous
re2o
Commits
c1f55e79
Commit
c1f55e79
authored
Jul 10, 2018
by
Hugo LEVY-FALK
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enlève le raw sql des migrations
parent
f5deab14
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
8 deletions
+27
-8
cotisations/migrations/0032_chequepayment_comnpaypayment.py
cotisations/migrations/0032_chequepayment_comnpaypayment.py
+4
-3
preferences/migrations/0044_remove_payment_pass.py
preferences/migrations/0044_remove_payment_pass.py
+20
-0
preferences/migrations/0045_remove_unused_payment_fields.py
preferences/migrations/0045_remove_unused_payment_fields.py
+2
-5
topologie/migrations/0030_auto_20171004_0235.py
topologie/migrations/0030_auto_20171004_0235.py
+1
-0
No files found.
cotisations/migrations/0032_chequepayment_comnpaypayment.py
View file @
c1f55e79
...
...
@@ -31,17 +31,18 @@ def add_comnpay(apps, schema_editor):
comnpay
.
payment
=
payment
comnpay
.
save
()
payment
.
moyen
=
"ComnPay"
payment
.
save
()
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'preferences'
,
'0044_remove_payment_pass'
),
(
'cotisations'
,
'0031_article_allow_self_subscription'
),
]
operations
=
[
migrations
.
RunSQL
(
'update preferences_assooption set payment_pass="" where id=1;'
),
migrations
.
CreateModel
(
name
=
'ChequePayment'
,
fields
=
[
...
...
@@ -60,6 +61,6 @@ class Migration(migrations.Migration):
],
bases
=
(
cotisations
.
payment_methods
.
mixins
.
PaymentMethodMixin
,
models
.
Model
),
),
migrations
.
RunPython
(
add_comnpay
),
migrations
.
RunPython
(
add_cheque
),
#
migrations.RunPython(add_comnpay),
#
migrations.RunPython(add_cheque),
]
preferences/migrations/0044_remove_payment_pass.py
0 → 100644
View file @
c1f55e79
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2018-07-05 13:40
from
__future__
import
unicode_literals
from
django.db
import
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'preferences'
,
'0035_optionaluser_allow_self_subscription'
),
]
operations
=
[
migrations
.
RemoveField
(
model_name
=
'assooption'
,
name
=
'payment_pass'
,
),
]
preferences/migrations/00
36_auto_20180705_0840
.py
→
preferences/migrations/00
45_remove_unused_payment_fields
.py
View file @
c1f55e79
...
...
@@ -8,7 +8,8 @@ from django.db import migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'preferences'
,
'0035_optionaluser_allow_self_subscription'
),
(
'preferences'
,
'0044_remove_payment_pass'
),
(
'cotisations'
,
'0032_chequepayment_comnpaypayment'
),
]
operations
=
[
...
...
@@ -20,10 +21,6 @@ class Migration(migrations.Migration):
model_name
=
'assooption'
,
name
=
'payment_id'
,
),
migrations
.
RemoveField
(
model_name
=
'assooption'
,
name
=
'payment_pass'
,
),
migrations
.
RemoveField
(
model_name
=
'optionaluser'
,
name
=
'allow_self_subscription'
,
...
...
topologie/migrations/0030_auto_20171004_0235.py
View file @
c1f55e79
...
...
@@ -10,6 +10,7 @@ class Migration(migrations.Migration):
dependencies
=
[
(
'topologie'
,
'0029_auto_20171002_0334'
),
(
'machines'
,
'0049_vlan'
),
]
operations
=
[
...
...
Maxime Bombar
@bombar
mentioned in commit
22662a2b
·
Aug 07, 2018
mentioned in commit
22662a2b
mentioned in commit 22662a2b2292f30d5b364d7f77a706d0554bddc1
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment