Issue Details (XML | Word | Printable)

Key: DNET-697
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Jiri Cincura
Reporter: Fabiano Rezende
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
.NET Data provider

Wrong Migration Sql generated for DropColumn

Created: 01/Sep/16 05:27 PM   Updated: 02/Sep/16 08:50 AM
Component/s: Entity Framework
Affects Version/s: 5.0.5.0, 5.1.0.0
Fix Version/s: 5.1.1.0

Environment: Firebird 3, Windows 10 64 bits


 Description  « Hide
The migration below

public partial class MyMigration : DbMigration
{
public override void Up()
{
DropColumn("TableName", "ColumnName");
}
}

generated sql: ALTER TABLE "TableName" DROP COLUMN "ColumnName"
but the correct sql should be: ALTER TABLE "TableName" DROP "ColumnName"

The sql as generated raises the error: Token unknown - line 1, column 27. column.



 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order