Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5024a951
authored
Nov 09, 2013
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set missing default values for migrations
parent
89209580
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
circle/firewall/migrations/0002_auto__add_field_rule_owner__chg_field_host_mac.py
+1
-1
circle/firewall/migrations/0005_auto__del_field_rule_vlan__add_field_host_vlan.py
+1
-1
circle/firewall/migrations/0008_auto__add_field_rule_nat__add_field_rule_nat_dport.py
+1
-1
circle/firewall/migrations/0022_auto__add_vlangroup__add_field_setting_description__add_field_group_de.py
+1
-1
circle/firewall/migrations/0029_auto__add_field_vlan_domain.py
+1
-1
circle/storage/migrations/0003_auto__add_datastore__del_field_disk_path__add_field_disk_datastore.py
+1
-1
No files found.
circle/firewall/migrations/0002_auto__add_field_rule_owner__chg_field_host_mac.py
View file @
5024a951
...
@@ -10,7 +10,7 @@ class Migration(SchemaMigration):
...
@@ -10,7 +10,7 @@ class Migration(SchemaMigration):
def
forwards
(
self
,
orm
):
def
forwards
(
self
,
orm
):
# Adding field 'Rule.owner'
# Adding field 'Rule.owner'
db
.
add_column
(
'firewall_rule'
,
'owner'
,
db
.
add_column
(
'firewall_rule'
,
'owner'
,
self
.
gf
(
'django.db.models.fields.related.ForeignKey'
)(
default
=
None
,
to
=
orm
[
'auth.User'
]),
self
.
gf
(
'django.db.models.fields.related.ForeignKey'
)(
default
=
1
,
to
=
orm
[
'auth.User'
]),
keep_default
=
False
)
keep_default
=
False
)
...
...
circle/firewall/migrations/0005_auto__del_field_rule_vlan__add_field_host_vlan.py
View file @
5024a951
...
@@ -21,7 +21,7 @@ class Migration(SchemaMigration):
...
@@ -21,7 +21,7 @@ class Migration(SchemaMigration):
# Adding field 'Host.vlan'
# Adding field 'Host.vlan'
db
.
add_column
(
'firewall_host'
,
'vlan'
,
db
.
add_column
(
'firewall_host'
,
'vlan'
,
self
.
gf
(
'django.db.models.fields.related.ForeignKey'
)(
default
=
None
,
to
=
orm
[
'firewall.Vlan'
]),
self
.
gf
(
'django.db.models.fields.related.ForeignKey'
)(
default
=
1
,
to
=
orm
[
'firewall.Vlan'
]),
keep_default
=
False
)
keep_default
=
False
)
# Removing M2M table for field vlan on 'Host'
# Removing M2M table for field vlan on 'Host'
...
...
circle/firewall/migrations/0008_auto__add_field_rule_nat__add_field_rule_nat_dport.py
View file @
5024a951
...
@@ -15,7 +15,7 @@ class Migration(SchemaMigration):
...
@@ -15,7 +15,7 @@ class Migration(SchemaMigration):
# Adding field 'Rule.nat_dport'
# Adding field 'Rule.nat_dport'
db
.
add_column
(
'firewall_rule'
,
'nat_dport'
,
db
.
add_column
(
'firewall_rule'
,
'nat_dport'
,
self
.
gf
(
'django.db.models.fields.IntegerField'
)(
default
=
None
),
self
.
gf
(
'django.db.models.fields.IntegerField'
)(
default
=
1
),
keep_default
=
False
)
keep_default
=
False
)
...
...
circle/firewall/migrations/0022_auto__add_vlangroup__add_field_setting_description__add_field_group_de.py
View file @
5024a951
...
@@ -58,7 +58,7 @@ class Migration(SchemaMigration):
...
@@ -58,7 +58,7 @@ class Migration(SchemaMigration):
# Adding field 'Rule.foreign_network'
# Adding field 'Rule.foreign_network'
db
.
add_column
(
'firewall_rule'
,
'foreign_network'
,
db
.
add_column
(
'firewall_rule'
,
'foreign_network'
,
self
.
gf
(
'django.db.models.fields.related.ForeignKey'
)(
default
=
None
,
related_name
=
'ForeignRules'
,
to
=
orm
[
'firewall.VlanGroup'
]),
self
.
gf
(
'django.db.models.fields.related.ForeignKey'
)(
default
=
1
,
related_name
=
'ForeignRules'
,
to
=
orm
[
'firewall.VlanGroup'
]),
keep_default
=
False
)
keep_default
=
False
)
# Adding field 'Rule.vlan'
# Adding field 'Rule.vlan'
...
...
circle/firewall/migrations/0029_auto__add_field_vlan_domain.py
View file @
5024a951
...
@@ -10,7 +10,7 @@ class Migration(SchemaMigration):
...
@@ -10,7 +10,7 @@ class Migration(SchemaMigration):
def
forwards
(
self
,
orm
):
def
forwards
(
self
,
orm
):
# Adding field 'Vlan.domain'
# Adding field 'Vlan.domain'
db
.
add_column
(
'firewall_vlan'
,
'domain'
,
db
.
add_column
(
'firewall_vlan'
,
'domain'
,
self
.
gf
(
'django.db.models.fields.related.ForeignKey'
)(
default
=
None
,
to
=
orm
[
'firewall.Domain'
]),
self
.
gf
(
'django.db.models.fields.related.ForeignKey'
)(
default
=
1
,
to
=
orm
[
'firewall.Domain'
]),
keep_default
=
False
)
keep_default
=
False
)
...
...
circle/storage/migrations/0003_auto__add_datastore__del_field_disk_path__add_field_disk_datastore.py
View file @
5024a951
...
@@ -21,7 +21,7 @@ class Migration(SchemaMigration):
...
@@ -21,7 +21,7 @@ class Migration(SchemaMigration):
# Adding field 'Disk.datastore'
# Adding field 'Disk.datastore'
db
.
add_column
(
'storage_disk'
,
'datastore'
,
db
.
add_column
(
'storage_disk'
,
'datastore'
,
self
.
gf
(
'django.db.models.fields.related.ForeignKey'
)(
default
=
None
,
to
=
orm
[
'storage.DataStore'
]),
self
.
gf
(
'django.db.models.fields.related.ForeignKey'
)(
default
=
1
,
to
=
orm
[
'storage.DataStore'
]),
keep_default
=
False
)
keep_default
=
False
)
...
...
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