Closed Xaninho closed 4 years ago
Actually, scratch below - seems like issue with different database behaviors, works for SQLite but not for SQL Server: "Cannot specify a column width on data type text". I'll check out why SQL Server is not happy.
First, check if you need to update Blogifier.Core nuget package - there should be migration adding columns to newsletters table. Blogifier checks for migrations in the program.cs on app start and runs migrations automatically, so you can check with debugger if it finds any new migrations and if there any issues executing them.
Fix been applied with latest update, newsletter migration script should work with SQL Server now.
That does it. Thank you for the quick support! 😊
Hey everyone! First of all, as this is my first issue here, thank you for making this repository available for everyone, it's a pretty cool resource to help learning the ASP.NET Core framework 😅
I've cloned this repository, and changed the appsettings.json to use SqlServer. When I run the project, the database is succesfully created. However, as I'm exploring the project, when I click the "Newsletter" tab in the Admin Dashboard, I get this error:
Any thoughts on what happened? The only changes I've made is in the appsettings.json file, and the database appeared to be created succesfully.