Add an admin user to database using Litium CLI with the litium-db command.
dotnet litium-db user --file .\Litium.Accelerator.Mvc\appsettings.Development.json --login agoodusername --password anevenbetterpassword
- By supplying –file the command picks up the connection string for us.
- Don’t forget to change agoodusername and anevenbetterpassword to something else.
Read more about Database management at Litium docs