- 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:
parent
f0815fb946
commit
af9b775dd7
|
@ -47,7 +47,7 @@ class DatasetState extends Command
|
|||
$datasets = DB::table('documents')
|
||||
->select('id', 'account_id')
|
||||
->where('server_state', 'approved')
|
||||
->whereRaw('server_date_modified < DATEADD(day,-14,GETDATE())')
|
||||
->whereRaw("server_date_modified < CURRENT_DATE + INTERVAL '14 day'")
|
||||
->get();
|
||||
|
||||
// update statistics table
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -15,7 +15,7 @@ const app = new Vue({
|
|||
// },
|
||||
dataset: window.Laravel.dataset,
|
||||
submitted: false,
|
||||
preferation: "yes_preferation",
|
||||
preferation: "no_preferation",
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user