From 81b867fa202b5e12d6de6b2ff4bfa8734bc4fe01 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Tue, 27 Feb 2018 14:23:09 -0600 Subject: [PATCH] Add bid expire time --- .../2017_06_07_014930_create_settings_table.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/Database/migrations/2017_06_07_014930_create_settings_table.php b/app/Database/migrations/2017_06_07_014930_create_settings_table.php index 53697fc6..ce4a793f 100644 --- a/app/Database/migrations/2017_06_07_014930_create_settings_table.php +++ b/app/Database/migrations/2017_06_07_014930_create_settings_table.php @@ -133,6 +133,14 @@ class CreateSettingsTable extends Migration 'description' => 'Whether or not someone can bid on multiple flights', ]); + $this->addSetting('bids.expire_time', [ + 'name' => 'Expire Time', + 'group' => 'bids', + 'value' => 48, + 'type' => 'int', + 'description' => 'Number of hours to expire bids after', + ]); + /** * PIREPS */