/**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     $config = new TwitterConfig();
     $config->name = 'prefix';
     $config->value = '';
     $config->save();
 }
 /**
  * Saves the next prefix for usernames being saved to the database
  *
  * @param $currentPrefix
  */
 private function saveNextPrefix($currentPrefix)
 {
     $nextPrefix = $this->getNextPrefix($currentPrefix);
     $config = TwitterConfig::whereName('prefix')->first();
     $config->value = $nextPrefix;
     $config->save();
 }