Rename field error
See original GitHub issueThe issue
- rename IsActive to is_active
- use command dotnet ef migrations add rename_is_active is OK
- use command dotnet ef database update =>
error : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘COLUMN
Is_Active
TOis_active
’ at line 1
my class
Exception message:
Stack trace:
Further technical details
mariadb version: 10.3.34
Operating system: windows 10
Pomelo.EntityFrameworkCore.MySql version: 6.0.1
Microsoft.EntityFrameworkCore: 6.0.3
Microsoft.EntityFrameworkCore.Design: 6.0.3
Microsoft.EntityFrameworkCore.Proxies: 6.0.3
Microsoft.EntityFrameworkCore.Tools: 6.0.3
Other details about my project setup:
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Error renaming a column in MySQL
Error renaming a column in MySQL · 5. You're trying to change a table that has a foreign key reference in it. –...
Read more >Error: The field "[fieldname]" was renamed conflic...
In the case where you are renaming a field that already has that name, the duplicate will be renamed by appending the copy...
Read more >The field "XXX" was renamed conflicting with an ex...
I am running a workflow to format my inputs. However, I get this error (The field "XXX" was renamed conflicting with an existing...
Read more >FIX: Error occurs when you rename a column on temporal ...
FIX: Error occurs when you rename a column on temporal current table in SQL Server.
Read more >Error after renaming a custom field
I am experiencing the following issue - I wanted to replace a custom field with a new one. So what I did is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Change
new MySqlServerVersion(new Version(10, 3, 34))
tonew MariaDbServerVersion(new Version(10, 3, 34))
@mguinness Thanks you. it work