-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pick up leftovers: lock dangerous functions, update dockerfiles
- Loading branch information
Showing
10 changed files
with
37 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
mounts/zoperepo/__root__/choreo/db_init_wrapper/__source__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
return "Locked" | ||
|
||
context.init.initdb_q() | ||
|
||
return "DB (re-)initialized!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[ | ||
('owner', (['acl_users'], 'dockerzope')), | ||
('title', ''), | ||
('type', 'Folder'), | ||
] |
14 changes: 14 additions & 0 deletions
14
mounts/zoperepo/__root__/migration/reset_sequences_q/__meta__
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[ | ||
('advanced', [ | ||
('cache_time', 0), | ||
('class_file', ''), | ||
('class_name', ''), | ||
('connection_hook', None), | ||
('max_cache', 100), | ||
('max_rows', 1000), | ||
]), | ||
('args', ''), | ||
('connection_id', 'composedb'), | ||
('title', ''), | ||
('type', 'Z SQL Method'), | ||
] |
2 changes: 2 additions & 0 deletions
2
mounts/zoperepo/__root__/migration/reset_sequences_q/__source__.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
select setval('rawdata_rawdata_id_seq', (select max(rawdata_id) from rawdata)); | ||
select setval('choreo_choreo_id_seq', (select max(choreo_id) from choreo)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters