stumpapp / stump

A free and open source comics, manga and digital book server with OPDS support (WIP)
https://stumpapp.dev
MIT License
863 stars 34 forks source link

🐛 Fix no server owner after migration #188

Closed aaronleopold closed 8 months ago

aaronleopold commented 8 months ago

The migration from https://github.com/stumpapp/stump/pull/186 causes the server owner status to not be reassigned after removing the old representation, so you'd have no server owner afterwards. To remedy this, I've added a new CLI command to assign a user the server owner status:

./stump account reset-owner

If you have direct database access you can of course just flip the boolean value of is_server_owner manually