Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
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
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
18 deletions
+12
-18
circle/firewall/migrations/0002_auto__add_field_rule_owner__chg_field_host_mac.py
+2
-3
circle/firewall/migrations/0005_auto__del_field_rule_vlan__add_field_host_vlan.py
+2
-3
circle/firewall/migrations/0008_auto__add_field_rule_nat__add_field_rule_nat_dport.py
+2
-3
circle/firewall/migrations/0022_auto__add_vlangroup__add_field_setting_description__add_field_group_de.py
+2
-3
circle/firewall/migrations/0029_auto__add_field_vlan_domain.py
+2
-3
circle/storage/migrations/0003_auto__add_datastore__del_field_disk_path__add_field_disk_datastore.py
+2
-3
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):
def
forwards
(
self
,
orm
):
# Adding field '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
)
...
...
@@ -120,4 +120,4 @@ class Migration(SchemaMigration):
}
}
complete_apps
=
[
'firewall'
]
\ No newline at end of file
complete_apps
=
[
'firewall'
]
circle/firewall/migrations/0005_auto__del_field_rule_vlan__add_field_host_vlan.py
View file @
5024a951
...
...
@@ -21,7 +21,7 @@ class Migration(SchemaMigration):
# Adding field '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
)
# Removing M2M table for field vlan on 'Host'
...
...
@@ -142,4 +142,4 @@ class Migration(SchemaMigration):
}
}
complete_apps
=
[
'firewall'
]
\ No newline at end of file
complete_apps
=
[
'firewall'
]
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):
# Adding field '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
)
...
...
@@ -126,4 +126,4 @@ class Migration(SchemaMigration):
}
}
complete_apps
=
[
'firewall'
]
\ No newline at end of file
complete_apps
=
[
'firewall'
]
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):
# Adding field '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
)
# Adding field 'Rule.vlan'
...
...
@@ -295,4 +295,4 @@ class Migration(SchemaMigration):
}
}
complete_apps
=
[
'firewall'
]
\ No newline at end of file
complete_apps
=
[
'firewall'
]
circle/firewall/migrations/0029_auto__add_field_vlan_domain.py
View file @
5024a951
...
...
@@ -10,7 +10,7 @@ class Migration(SchemaMigration):
def
forwards
(
self
,
orm
):
# Adding field '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
)
...
...
@@ -187,4 +187,4 @@ class Migration(SchemaMigration):
}
}
complete_apps
=
[
'firewall'
]
\ No newline at end of file
complete_apps
=
[
'firewall'
]
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):
# Adding field '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
)
...
...
@@ -56,4 +56,4 @@ class Migration(SchemaMigration):
}
}
complete_apps
=
[
'storage'
]
\ No newline at end of file
complete_apps
=
[
'storage'
]
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