Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
R
red-ci-cd
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
red-group-test
red-ci-cd
Commits
3f6bd4cc
Commit
3f6bd4cc
authored
Jan 27, 2020
by
Gladys Forte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete 006 migrations
parent
7e202dd4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
51 deletions
+1
-51
app/applicationlayer/master/Account/views.py
app/applicationlayer/master/Account/views.py
+1
-1
app/entities/migrations/0006_branch.py
app/entities/migrations/0006_branch.py
+0
-28
app/entities/models.py
app/entities/models.py
+0
-22
No files found.
app/applicationlayer/master/Account/views.py
View file @
3f6bd4cc
app/entities/migrations/0006_branch.py
deleted
100644 → 0
View file @
7e202dd4
# Generated by Django 2.2 on 2020-01-22 11:41
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'entities'
,
'0005_auto_20200115_1950'
),
]
operations
=
[
migrations
.
CreateModel
(
name
=
'Branch'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'enviroment'
,
models
.
CharField
(
max_length
=
255
)),
(
'branch_name'
,
models
.
CharField
(
max_length
=
255
)),
(
'repo_type'
,
models
.
CharField
(
max_length
=
50
)),
(
'repository'
,
models
.
CharField
(
max_length
=
255
,
unique
=
True
)),
(
'created'
,
models
.
DateTimeField
(
auto_now_add
=
True
)),
],
options
=
{
'db_table'
:
'branches'
,
},
),
]
app/entities/models.py
View file @
3f6bd4cc
...
...
@@ -1228,25 +1228,3 @@ class AssetGroup(models.Model):
self
.
code
=
code
self
.
created
=
datetime
.
now
()
self
.
save
()
# branches info
class
Branch
(
models
.
Model
):
enviroment
=
models
.
CharField
(
max_length
=
255
)
branch_name
=
models
.
CharField
(
max_length
=
255
)
repo_type
=
models
.
CharField
(
max_length
=
50
)
repository
=
models
.
CharField
(
unique
=
True
,
max_length
=
255
)
created
=
models
.
DateTimeField
(
auto_now_add
=
True
)
class
Meta
:
db_table
=
'branches'
def
__str__
(
self
):
return
f
'{self.branch_name}'
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