summaryrefslogtreecommitdiff
path: root/src/EventRunner.php
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-11-29 09:35:27 +0100
committerDaniel Weipert <code@drogueronin.de>2023-11-29 09:35:27 +0100
commit3afcaef927391db23fe23c6c8c26b8960e8dae32 (patch)
tree143b9f6df9e8c795c8c6ed901bffdc7119f40df1 /src/EventRunner.php
parentc4ce3e884a6aa527bcc138771617215cf03265a4 (diff)
intermediate commit
Diffstat (limited to 'src/EventRunner.php')
-rw-r--r--src/EventRunner.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/EventRunner.php b/src/EventRunner.php
index 4f3bce9..a071d32 100644
--- a/src/EventRunner.php
+++ b/src/EventRunner.php
@@ -31,6 +31,15 @@ class EventRunner
);
}
+ # Upgrade Building
+
+ $results = DB::query(<<<SQL
+ select * from events
+ inner join event_upgrade_building as event
+ on events.id = event.event_id
+ where events.time < now()
+ SQL)->fetchAll();
+
// Resources