Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_jupert
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
Joseph Izon
widget_jupert
Commits
b99f8bdf
Commit
b99f8bdf
authored
May 25, 2022
by
Joseph Izon
💀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add migration files for model updates
parent
9c871bca
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
87 additions
and
0 deletions
+87
-0
0002_auto_20220525_1055.py
widget_jupert/homepage/migrations/0002_auto_20220525_1055.py
+33
-0
0003_alter_widgetuser_id_num.py
...upert/homepage/migrations/0003_alter_widgetuser_id_num.py
+18
-0
0004_alter_widgetuser_id_num.py
...upert/homepage/migrations/0004_alter_widgetuser_id_num.py
+18
-0
0005_widgetuser_image.py
widget_jupert/homepage/migrations/0005_widgetuser_image.py
+18
-0
No files found.
widget_jupert/homepage/migrations/0002_auto_20220525_1055.py
0 → 100644
View file @
b99f8bdf
# Generated by Django 3.2.12 on 2022-05-25 02:55
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'homepage'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'widgetuser'
,
name
=
'email'
,
field
=
models
.
EmailField
(
max_length
=
100
,
null
=
True
),
),
migrations
.
AddField
(
model_name
=
'widgetuser'
,
name
=
'id_num'
,
field
=
models
.
CharField
(
default
=
0
,
max_length
=
7
),
),
migrations
.
CreateModel
(
name
=
'Department'
,
fields
=
[
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'dept_name'
,
models
.
CharField
(
max_length
=
50
)),
(
'home_unit'
,
models
.
CharField
(
max_length
=
50
)),
(
'user'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'homepage.widgetuser'
)),
],
),
]
widget_jupert/homepage/migrations/0003_alter_widgetuser_id_num.py
0 → 100644
View file @
b99f8bdf
# Generated by Django 3.2.12 on 2022-05-25 03:26
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'homepage'
,
'0002_auto_20220525_1055'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'widgetuser'
,
name
=
'id_num'
,
field
=
models
.
IntegerField
(),
),
]
widget_jupert/homepage/migrations/0004_alter_widgetuser_id_num.py
0 → 100644
View file @
b99f8bdf
# Generated by Django 3.2.12 on 2022-05-25 03:42
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'homepage'
,
'0003_alter_widgetuser_id_num'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'widgetuser'
,
name
=
'id_num'
,
field
=
models
.
CharField
(
default
=
0
,
max_length
=
7
),
),
]
widget_jupert/homepage/migrations/0005_widgetuser_image.py
0 → 100644
View file @
b99f8bdf
# Generated by Django 3.2.12 on 2022-05-25 05:58
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'homepage'
,
'0004_alter_widgetuser_id_num'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'widgetuser'
,
name
=
'image'
,
field
=
models
.
FileField
(
blank
=
True
,
null
=
True
,
upload_to
=
'static/homepage/'
),
),
]
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