Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scheduler-3480311
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
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
Issue forks
scheduler-3480311
Commits
c3049fab
Commit
c3049fab
authored
16 years ago
by
Eric-Alexander Schaefer
Browse files
Options
Downloads
Patches
Plain Diff
#273458
by ericschaefer: Timezone column removed via DB update 6100.
parent
b5fedb46
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scheduler.install
+7
-0
7 additions, 0 deletions
scheduler.install
with
7 additions
and
0 deletions
scheduler.install
+
7
−
0
View file @
c3049fab
...
...
@@ -74,3 +74,10 @@ function scheduler_update_3() {
$ret
[]
=
update_sql
(
"CREATE INDEX scheduler_unpublish_on ON
{
scheduler
}
(unpublish_on)"
);
return
$ret
;
}
function
scheduler_update_6100
()
{
$ret
[]
=
update_sql
(
"UPDATE
{
scheduler
}
SET publish_on=publish_on-timezone WHERE publish_on<>0"
);
$ret
[]
=
update_sql
(
"UPDATE
{
scheduler
}
SET unpublish_on=unpublish_on-timezone WHERE unpublish_on<>0"
);
$ret
[]
=
update_sql
(
"ALTER TABLE
{
scheduler
}
DROP COLUMN timezone"
);
return
$ret
;
}
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