Merge branch 'master' of ssh://172.31.31.31:2222/poc/pds
This commit is contained in:
@@ -14,6 +14,7 @@ return new class extends Migration
|
||||
$sql = <<<'SQL'
|
||||
CREATE TABLE alert_mail_rules (
|
||||
id BIGINT GENERATED always AS IDENTITY PRIMARY KEY,
|
||||
|
||||
plant BIGINT NOT NULL DEFAULT(0),
|
||||
|
||||
module TEXT NOT NULL,
|
||||
|
||||
@@ -19,7 +19,7 @@ Artisan::command('inspire', function () {
|
||||
|
||||
$productionRules = AlertMailRule::where('module', 'ProductionQuantities')
|
||||
->where('rule_name', 'ProductionMail')
|
||||
//->select('plant', 'schedule_type')
|
||||
->select('plant', 'schedule_type')
|
||||
->select('plant', 'schedule_type')
|
||||
->distinct()
|
||||
->get();
|
||||
|
||||
Reference in New Issue
Block a user