Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
c5ce0c9d
Commit
c5ce0c9d
authored
4 years ago
by
Fabio Vitello
Browse files
Options
Downloads
Patches
Plain Diff
Revert 0002_populate.py
parent
d51b8956
No related branches found
No related tags found
1 merge request
!111
Resolve TMSS-165
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SAS/TMSS/src/tmss/tmssapp/migrations/0002_populate.py
+5
-1
5 additions, 1 deletion
SAS/TMSS/src/tmss/tmssapp/migrations/0002_populate.py
with
5 additions
and
1 deletion
SAS/TMSS/src/tmss/tmssapp/migrations/0002_populate.py
+
5
−
1
View file @
c5ce0c9d
...
...
@@ -9,4 +9,8 @@ class Migration(migrations.Migration):
(
'
tmssapp
'
,
'
0001_initial
'
),
]
operations
=
[
migrations
.
RunPython
(
populate_choices
)
]
# Start SubTask id with 2 000 000 to avoid overlap with 'old' (test/production) OTDB
operations
=
[
migrations
.
RunSQL
(
'
ALTER SEQUENCE tmssapp_SubTask_id_seq RESTART WITH 2000000;
'
),
migrations
.
RunPython
(
populate_choices
),
migrations
.
RunPython
(
populate_misc
),
migrations
.
RunPython
(
populate_lofar_json_schemas
)
]
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