Skip to content

Instantly share code, notes, and snippets.

@dansup
Created July 25, 2018 05:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dansup/6f2871aaae792bab006fca7ea4300d7d to your computer and use it in GitHub Desktop.
Save dansup/6f2871aaae792bab006fca7ea4300d7d to your computer and use it in GitHub Desktop.
Pixelfed 0.1.2 update
The latest updates require manual intervention, you will need to run the following code in artisan if you run a production instance.
cd pixelfed
php artisan tinker
$users = User::doesntHave('settings')->get();
foreach($users as $user) {
$settings = new UserSetting;
$settings->user_id = $user->id;
$settings->save();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment