Comments (6)
@csharpfritz if I understood correctly we want to remove email from comments page, user can just enter their display name and make comment?
from corewiki.
from corewiki.
ok cool, thanks
from corewiki.
@csharpfritz when removing email from comment via migration, I encountered error; there is foreign key constraint set between email in comments and article ...... seem like this is constraint using SQLite.
Applying migration '20181110003331_RemovedEmailFromComment'.
System.NotSupportedException: SQLite does not support this migration operation ('DropForeignKeyOperation'). For more information, see http://go.microsoft.com/fwlink/?LinkId=723262.
from corewiki.
add migration does not produce the required scaffolding the following manual one I created to drop email column from comments table also does not work , and I get System.NotSupportedException: SQLite does not support this migration operation ('DropColumnOperation').
protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Email", table: "Comments"); }
protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<string>( name: "Email", table: "Comments", defaultValue:""); }
from corewiki.
I may be wrong here but I think you're getting this error because SQLite by design doesn't support dropping columns. I think the schema needs to be dropped and rebuilt with a new migration.
from corewiki.
Related Issues (20)
- Refactoring to use UTF8Json
- URLFriendly method is duplicated HOT 1
- During FirstStart allow configuration of alternate Authentication Providers HOT 1
- Azure Project
- Documentation HOT 3
- Extensions: Feature LiveBlogging integration
- Handling dateformatting HOT 2
- Indentation issue while coding HOT 1
- Unable to start CoreWiki due to font awesome source error in libman.js on macOS HOT 2
- Several methods need await to be properly Async HOT 1
- Use Virus Total API
- Feature: Protected articles HOT 1
- Add option to delete user(s) HOT 3
- New login thoughts
- Scan wiki content for possible PII of other users, and let those users know
- Add dependabot.com to the repo to get updates of packages HOT 1
- CoreWiki throws Errors if only dotnet core 2.2 is installed HOT 2
- Are there any plans to upgrade to ASP.NET Core 3.1?
- Live demo is down in 2023
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from corewiki.