[FB-Tracker] Created: (DNET-697) Wrong Migration Sql generated for DropColumn

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[FB-Tracker] Created: (DNET-697) Wrong Migration Sql generated for DropColumn

JIRA tracker@firebirdsql.org
Wrong Migration Sql generated for DropColumn
--------------------------------------------

                 Key: DNET-697
                 URL: http://tracker.firebirdsql.org/browse/DNET-697
             Project: .NET Data provider
          Issue Type: Bug
          Components: Entity Framework support
    Affects Versions: 5.1.0.0, 5.0.5.0
         Environment: Firebird 3, Windows 10 64 bits
            Reporter: Fabiano Rezende
            Assignee: Jiri Cincura


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.



--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
_______________________________________________
Firebird-net-provider mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider