@halcy from console: User.first.update(admin: true) (if you are the first user in the db)
@Gargron haaa, can I easily use that for other users also? Or better to just do it in the DB?
@halcy you can do `User.find_by(email: 'email@example.com')` or you can use `Account.find_local('username').user` to get to the right user object. Avoid direct db manipulations tbh.
@Gargron Thanks! I'll try that. (also, how do I open the console again? I should probably make a script for this >>)
@halcy `rails c` (c or console)
Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!