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
3caa119f
Commit
3caa119f
authored
Sep 27, 2019
by
John Red Medrano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove the header on module management
parent
66721c3e
Changes
11
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
132 additions
and
1079 deletions
+132
-1079
app/entities/migrations/0001_initial.py
app/entities/migrations/0001_initial.py
+65
-40
app/entities/migrations/0002_auto_20190917_1716.py
app/entities/migrations/0002_auto_20190917_1716.py
+0
-48
app/entities/migrations/0003_allowedcompany.py
app/entities/migrations/0003_allowedcompany.py
+0
-32
app/entities/migrations/0004_auto_20190918_1104.py
app/entities/migrations/0004_auto_20190918_1104.py
+0
-32
app/entities/migrations/0005_auto_20190919_1625.py
app/entities/migrations/0005_auto_20190919_1625.py
+0
-18
app/entities/migrations/0006_auto_20190920_1623.py
app/entities/migrations/0006_auto_20190920_1623.py
+0
-23
app/entities/migrations/0007_auto_20190924_1206.py
app/entities/migrations/0007_auto_20190924_1206.py
+0
-33
app/entities/migrations/0008_auto_20190926_1040.py
app/entities/migrations/0008_auto_20190926_1040.py
+0
-55
app/entities/migrations/0009_auto_20190926_1837.py
app/entities/migrations/0009_auto_20190926_1837.py
+0
-53
app/entities/models.py
app/entities/models.py
+6
-1
requirements/for deployment.sql
requirements/for deployment.sql
+61
-744
No files found.
app/entities/migrations/0001_initial.py
View file @
3caa119f
This diff is collapsed.
Click to expand it.
app/entities/migrations/0002_auto_20190917_1716.py
deleted
100644 → 0
View file @
66721c3e
# Generated by Django 2.2 on 2019-09-17 17:16
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'entities'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'changerequestformapprovers'
,
name
=
'action_date'
,
field
=
models
.
DateTimeField
(
blank
=
True
,
null
=
True
),
),
migrations
.
AlterField
(
model_name
=
'changerequesthistory'
,
name
=
'action'
,
field
=
models
.
CharField
(
max_length
=
50
),
),
migrations
.
AlterField
(
model_name
=
'changerequesthistory'
,
name
=
'entity'
,
field
=
models
.
CharField
(
max_length
=
50
),
),
migrations
.
AlterField
(
model_name
=
'notification'
,
name
=
'account_no'
,
field
=
models
.
CharField
(
blank
=
True
,
max_length
=
255
,
null
=
True
),
),
migrations
.
AlterField
(
model_name
=
'notification'
,
name
=
'app'
,
field
=
models
.
CharField
(
blank
=
True
,
max_length
=
255
,
null
=
True
),
),
migrations
.
AlterField
(
model_name
=
'notification'
,
name
=
'form_code'
,
field
=
models
.
CharField
(
blank
=
True
,
max_length
=
255
,
null
=
True
),
),
migrations
.
AlterField
(
model_name
=
'notification'
,
name
=
'sender_account_no'
,
field
=
models
.
CharField
(
blank
=
True
,
max_length
=
255
,
null
=
True
),
),
]
app/entities/migrations/0003_allowedcompany.py
deleted
100644 → 0
View file @
66721c3e
# Generated by Django 2.2 on 2019-09-17 18:02
from
django.conf
import
settings
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'entities'
,
'0002_auto_20190917_1716'
),
]
operations
=
[
migrations
.
CreateModel
(
name
=
'AllowedCompany'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'create_change_request'
,
models
.
BooleanField
(
default
=
True
)),
(
'create_change_request_template'
,
models
.
BooleanField
(
default
=
True
)),
(
'view_all_change_request'
,
models
.
BooleanField
(
default
=
True
)),
(
'created_at'
,
models
.
DateTimeField
(
auto_now_add
=
True
)),
(
'deleted_at'
,
models
.
DateTimeField
(
blank
=
True
,
null
=
True
)),
(
'company_pivot'
,
models
.
ForeignKey
(
blank
=
True
,
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
DO_NOTHING
,
related_name
=
'allowed_company_company_pivot'
,
to
=
'entities.Company'
,
to_field
=
'code'
)),
(
'group_pivots'
,
models
.
ForeignKey
(
blank
=
True
,
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
DO_NOTHING
,
related_name
=
'allowed_company_group_pivots'
,
to
=
'entities.Department'
,
to_field
=
'code'
)),
(
'id_number'
,
models
.
ForeignKey
(
blank
=
True
,
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
DO_NOTHING
,
related_name
=
'allowed_company_id_number'
,
to
=
settings
.
AUTH_USER_MODEL
,
to_field
=
'code'
)),
],
options
=
{
'db_table'
:
'allowed_company'
,
},
),
]
app/entities/migrations/0004_auto_20190918_1104.py
deleted
100644 → 0
View file @
66721c3e
# Generated by Django 2.2 on 2019-09-18 11:04
from
django.conf
import
settings
from
django.db
import
migrations
,
models
import
django.db.models.deletion
import
django.utils.timezone
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'entities'
,
'0003_allowedcompany'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'allowedcompany'
,
name
=
'company_pivot'
,
field
=
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
DO_NOTHING
,
related_name
=
'allowed_company_company_pivot'
,
to
=
'entities.Company'
,
to_field
=
'code'
),
),
migrations
.
AlterField
(
model_name
=
'allowedcompany'
,
name
=
'group_pivots'
,
field
=
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
DO_NOTHING
,
related_name
=
'allowed_company_group_pivots'
,
to
=
'entities.Department'
,
to_field
=
'code'
),
),
migrations
.
AlterField
(
model_name
=
'allowedcompany'
,
name
=
'id_number'
,
field
=
models
.
ForeignKey
(
default
=
django
.
utils
.
timezone
.
now
,
on_delete
=
django
.
db
.
models
.
deletion
.
DO_NOTHING
,
related_name
=
'allowed_company_id_number'
,
to
=
settings
.
AUTH_USER_MODEL
,
to_field
=
'code'
),
preserve_default
=
False
,
),
]
app/entities/migrations/0005_auto_20190919_1625.py
deleted
100644 → 0
View file @
66721c3e
# Generated by Django 2.2 on 2019-09-19 16:25
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'entities'
,
'0004_auto_20190918_1104'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'entitylog'
,
name
=
'entity'
,
field
=
models
.
CharField
(
choices
=
[(
'USER'
,
'USER'
),
(
'APPLICATION'
,
'APPLICATION'
),
(
'COMPANY'
,
'COMPANY'
),
(
'DEPARTMENT'
,
'DEPARTMENT'
),
(
'MODULE'
,
'MODULE'
),
(
'ChangeRequestTemplateHeader'
,
'ChangeRequestTemplateHeader'
),
(
'ChangeRequestTemplateApprovers'
,
'ChangeRequestTemplateApprovers'
),
(
'ChangeRequestTemplateStakeHolders'
,
'ChangeRequestTemplateStakeHolders'
),
(
'ChangeRequestTemplateAttachments'
,
'ChangeRequestTemplateAttachments'
),
(
'ChangeRequestTemplateDetails'
,
'ChangeRequestTemplateDetails'
)],
default
=
'Add'
,
max_length
=
50
),
),
]
app/entities/migrations/0006_auto_20190920_1623.py
deleted
100644 → 0
View file @
66721c3e
# Generated by Django 2.2 on 2019-09-20 16:23
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'entities'
,
'0005_auto_20190919_1625'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'changerequesthistory'
,
name
=
'batch_no'
,
field
=
models
.
CharField
(
blank
=
True
,
max_length
=
255
,
null
=
True
),
),
migrations
.
AddField
(
model_name
=
'changerequesthistory'
,
name
=
'main_action'
,
field
=
models
.
CharField
(
blank
=
True
,
max_length
=
255
,
null
=
True
),
),
]
app/entities/migrations/0007_auto_20190924_1206.py
deleted
100644 → 0
View file @
66721c3e
# Generated by Django 2.2 on 2019-09-24 12:06
from
django.db
import
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'entities'
,
'0006_auto_20190920_1623'
),
]
operations
=
[
migrations
.
RemoveField
(
model_name
=
'changerequesttemplateapprovers'
,
name
=
'archived_at'
,
),
migrations
.
RemoveField
(
model_name
=
'changerequesttemplateattachments'
,
name
=
'archived_at'
,
),
migrations
.
RemoveField
(
model_name
=
'changerequesttemplatedetails'
,
name
=
'archived_at'
,
),
migrations
.
RemoveField
(
model_name
=
'changerequesttemplateheader'
,
name
=
'archived_at'
,
),
migrations
.
RemoveField
(
model_name
=
'changerequesttemplatestakeholders'
,
name
=
'archived_at'
,
),
]
app/entities/migrations/0008_auto_20190926_1040.py
deleted
100644 → 0
View file @
66721c3e
# Generated by Django 2.2 on 2019-09-26 10:40
from
django.conf
import
settings
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'entities'
,
'0007_auto_20190924_1206'
),
]
operations
=
[
migrations
.
CreateModel
(
name
=
'MasterAttachment'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'url'
,
models
.
FileField
(
blank
=
True
,
null
=
True
,
upload_to
=
'uploads/'
)),
],
options
=
{
'db_table'
:
'master_attachments'
,
},
),
migrations
.
AlterField
(
model_name
=
'allowedcompany'
,
name
=
'company_pivot'
,
field
=
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
PROTECT
,
related_name
=
'allowed_company_company_pivot'
,
to
=
'entities.Company'
,
to_field
=
'code'
),
),
migrations
.
AlterField
(
model_name
=
'allowedcompany'
,
name
=
'group_pivots'
,
field
=
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
PROTECT
,
related_name
=
'allowed_company_group_pivots'
,
to
=
'entities.Department'
,
to_field
=
'code'
),
),
migrations
.
AlterField
(
model_name
=
'allowedcompany'
,
name
=
'id_number'
,
field
=
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
PROTECT
,
related_name
=
'allowed_company_id_number'
,
to
=
settings
.
AUTH_USER_MODEL
,
to_field
=
'code'
),
),
migrations
.
AlterField
(
model_name
=
'changerequestformattachments'
,
name
=
'file_upload'
,
field
=
models
.
ForeignKey
(
blank
=
True
,
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
PROTECT
,
related_name
=
'form_attachments'
,
to
=
'entities.MasterAttachment'
),
),
migrations
.
AlterField
(
model_name
=
'changerequestformattachments'
,
name
=
'tmp_attach'
,
field
=
models
.
ForeignKey
(
blank
=
True
,
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
DO_NOTHING
,
related_name
=
'template_attachments'
,
to
=
'entities.ChangeRequestTemplateAttachments'
,
to_field
=
'code'
),
),
migrations
.
AlterField
(
model_name
=
'changerequesttemplateattachments'
,
name
=
'file_upload'
,
field
=
models
.
ForeignKey
(
blank
=
True
,
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
PROTECT
,
related_name
=
'template_attachments'
,
to
=
'entities.MasterAttachment'
),
),
]
app/entities/migrations/0009_auto_20190926_1837.py
deleted
100644 → 0
View file @
66721c3e
# Generated by Django 2.2 on 2019-09-26 18:37
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'entities'
,
'0008_auto_20190926_1040'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'changerequestformdetails'
,
name
=
'field_idx'
,
field
=
models
.
TextField
(
blank
=
True
,
null
=
True
),
),
migrations
.
AlterField
(
model_name
=
'changerequestformdetails'
,
name
=
'field_props'
,
field
=
models
.
TextField
(
blank
=
True
,
null
=
True
),
),
migrations
.
AlterField
(
model_name
=
'changerequestformdetails'
,
name
=
'field_ref'
,
field
=
models
.
TextField
(
blank
=
True
,
null
=
True
),
),
migrations
.
AlterField
(
model_name
=
'changerequestformdetails'
,
name
=
'field_val'
,
field
=
models
.
TextField
(
blank
=
True
,
null
=
True
),
),
migrations
.
AlterField
(
model_name
=
'changerequesttemplatedetails'
,
name
=
'field_idx'
,
field
=
models
.
TextField
(
blank
=
True
,
null
=
True
),
),
migrations
.
AlterField
(
model_name
=
'changerequesttemplatedetails'
,
name
=
'field_props'
,
field
=
models
.
TextField
(
blank
=
True
,
null
=
True
),
),
migrations
.
AlterField
(
model_name
=
'changerequesttemplatedetails'
,
name
=
'field_ref'
,
field
=
models
.
TextField
(
blank
=
True
,
null
=
True
),
),
migrations
.
AlterField
(
model_name
=
'changerequesttemplatedetails'
,
name
=
'field_val'
,
field
=
models
.
TextField
(
blank
=
True
,
null
=
True
),
),
]
app/entities/models.py
View file @
3caa119f
...
...
@@ -58,7 +58,12 @@ class Module(AuditClass):
blank
=
True
,
null
=
True
)
parent
=
models
.
IntegerField
(
blank
=
True
,
null
=
True
)
parent
=
models
.
ForeignKey
(
"Module"
,
related_name
=
'module_parent'
,
on_delete
=
models
.
PROTECT
,
blank
=
True
,
null
=
True
)
sort_id
=
models
.
IntegerField
()
component
=
models
.
CharField
(
max_length
=
255
,
...
...
requirements/for deployment.sql
View file @
3caa119f
This diff is collapsed.
Click to expand it.
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