Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Resint
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-Resint
Commits
2e2eb9c1
Commit
2e2eb9c1
authored
4 years ago
by
Frank Poetzsch-Heffter
Browse files
Options
Downloads
Patches
Plain Diff
Add initial migration
parent
195322db
Loading
Loading
1 merge request
!2
Only rename app title, data model is unchanged
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aleksis/apps/resint/migrations/0001_initial.py
+31
-0
31 additions, 0 deletions
aleksis/apps/resint/migrations/0001_initial.py
with
31 additions
and
0 deletions
aleksis/apps/resint/migrations/0001_initial.py
0 → 100644
+
31
−
0
View file @
2e2eb9c1
# Generated by Django 3.0.4 on 2020-03-29 16:02
import
aleksis.apps.resint.models
import
django.contrib.postgres.fields.jsonb
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
initial
=
True
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'
Poster
'
,
fields
=
[
(
'
id
'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'
ID
'
)),
(
'
extended_data
'
,
django
.
contrib
.
postgres
.
fields
.
jsonb
.
JSONField
(
default
=
dict
,
editable
=
False
)),
(
'
calendar_week
'
,
models
.
IntegerField
(
verbose_name
=
'
CW
'
)),
(
'
year
'
,
models
.
IntegerField
(
verbose_name
=
'
Year
'
)),
(
'
pdf
'
,
models
.
FileField
(
upload_to
=
aleksis
.
apps
.
resint
.
models
.
path_and_rename_poster
,
verbose_name
=
'
PDF
'
)),
],
options
=
{
'
verbose_name
'
:
'
Poster
'
,
'
verbose_name_plural
'
:
'
Posters
'
,
'
unique_together
'
:
{(
'
calendar_week
'
,
'
year
'
)},
},
),
]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment