-
-
Save dansup/6f2871aaae792bab006fca7ea4300d7d to your computer and use it in GitHub Desktop.
Pixelfed 0.1.2 update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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