- cron job: sql code um 14 tagelangen Review-Prozess zu überwchen, wurde auf postgresl angepass

- default there is no reviewer selected for releasing a dataset
This commit is contained in:
Arno Kaimbacher 2020-05-28 12:05:54 +02:00
parent f0815fb946
commit af9b775dd7
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ class DatasetState extends Command
$datasets = DB::table('documents') $datasets = DB::table('documents')
->select('id', 'account_id') ->select('id', 'account_id')
->where('server_state', 'approved') ->where('server_state', 'approved')
->whereRaw('server_date_modified < DATEADD(day,-14,GETDATE())') ->whereRaw("server_date_modified < CURRENT_DATE + INTERVAL '14 day'")
->get(); ->get();
// update statistics table // update statistics table

File diff suppressed because one or more lines are too long

View File

@ -15,7 +15,7 @@ const app = new Vue({
// }, // },
dataset: window.Laravel.dataset, dataset: window.Laravel.dataset,
submitted: false, submitted: false,
preferation: "yes_preferation", preferation: "no_preferation",
} }
}, },
computed: { computed: {