Browse Source

added descriptions to config seeds

added 1 extra option aswel :)
AVMG20 4 years ago
parent
commit
d7951a5f0a
1 changed files with 16 additions and 0 deletions
  1. 16 0
      database/seeders/Seeds/ConfigurationSeeder.php

+ 16 - 0
database/seeders/Seeds/ConfigurationSeeder.php

@@ -20,6 +20,7 @@ class ConfigurationSeeder extends Seeder
         ], [
             'value' => '250',
             'type'  => 'integer',
+            'description' => 'The initial amount of credits the user starts with.'
         ]);
 
         Configuration::firstOrCreate([
@@ -27,6 +28,7 @@ class ConfigurationSeeder extends Seeder
         ], [
             'value' => '1',
             'type'  => 'integer',
+            'description' => 'The initial server limit the user starts with.'
         ]);
 
         //verify email event
@@ -35,6 +37,7 @@ class ConfigurationSeeder extends Seeder
         ], [
             'value' => '250',
             'type'  => 'integer',
+            'description' => 'Increase in credits after the user has verified their email account.'
         ]);
 
         Configuration::firstOrCreate([
@@ -42,6 +45,7 @@ class ConfigurationSeeder extends Seeder
         ], [
             'value' => '2',
             'type'  => 'integer',
+            'description' => 'Increase in server limit after the user has verified their email account.'
         ]);
 
         //verify discord event
@@ -50,6 +54,7 @@ class ConfigurationSeeder extends Seeder
         ] , [
             'value' => '375',
             'type'  => 'integer',
+            'description' => 'Increase in credits after the user has verified their discord account.'
         ]);
 
         Configuration::firstOrCreate([
@@ -57,6 +62,7 @@ class ConfigurationSeeder extends Seeder
         ], [
             'value' => '2',
             'type'  => 'integer',
+            'description' => 'Increase in server limit after the user has verified their discord account.'
         ]);
 
         //other
@@ -65,6 +71,16 @@ class ConfigurationSeeder extends Seeder
         ], [
             'value' => '50',
             'type'  => 'integer',
+            'description' => 'The minimum amount of credits the user would need to make a server.'
+        ]);
+
+        //purchasing
+        Configuration::firstOrCreate([
+            'key' => 'SERVER_LIMIT_AFTER_IRL_PURCHASE',
+        ], [
+            'value' => '10',
+            'type'  => 'integer',
+            'description' => 'Sets the users server limit to this amount after purchasing with money, set to 0 to ignore this.',
         ]);
     }
 }