Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Migration Sql generated for DropColumn [DNET697] #649

Closed
firebird-automations opened this issue Sep 1, 2016 · 2 comments
Closed

Comments

@firebird-automations
Copy link

Submitted by: Fabiano Rezende (fabiano.rezende)

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.

Commits: 7559c9b

@firebird-automations
Copy link
Author

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: vNext [ 10782 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants