Skip to content
Snippets Groups Projects
Commit c3049fab authored by Eric-Alexander Schaefer's avatar Eric-Alexander Schaefer
Browse files

#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
......@@ -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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment