{"action":"created","issue":{"url":"https://api.github.com/repos/npgsql/EntityFramework6.Npgsql/issues/33","repository_url":"https://api.github.com/repos/npgsql/EntityFramework6.Npgsql","labels_url":"https://api.github.com/repos/npgsql/EntityFramework6.Npgsql/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/npgsql/EntityFramework6.Npgsql/issues/33/comments","events_url":"https://api.github.com/repos/npgsql/EntityFramework6.Npgsql/issues/33/events","html_url":"https://github.com/npgsql/EntityFramework6.Npgsql/issues/33","id":154487679,"number":33,"title":"Is EF6' AlterTableAnnotation supported?","user":{"login":"roji","id":1862641,"avatar_url":"https://avatars.githubusercontent.com/u/1862641?v=3","gravatar_id":"","url":"https://api.github.com/users/roji","html_url":"https://github.com/roji","followers_url":"https://api.github.com/users/roji/followers","following_url":"https://api.github.com/users/roji/following{/other_user}","gists_url":"https://api.github.com/users/roji/gists{/gist_id}","starred_url":"https://api.github.com/users/roji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roji/subscriptions","organizations_url":"https://api.github.com/users/roji/orgs","repos_url":"https://api.github.com/users/roji/repos","events_url":"https://api.github.com/users/roji/events{/privacy}","received_events_url":"https://api.github.com/users/roji/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npgsql/EntityFramework6.Npgsql/labels/bug","name":"bug","color":"ee0701"},{"url":"https://api.github.com/repos/npgsql/EntityFramework6.Npgsql/labels/ef6","name":"ef6","color":"ededed"},{"url":"https://api.github.com/repos/npgsql/EntityFramework6.Npgsql/labels/up%20for%20grabs","name":"up for grabs","color":"ededed"},{"url":"https://api.github.com/repos/npgsql/EntityFramework6.Npgsql/labels/waiting%20for%20answer","name":"waiting for answer","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-12T13:52:14Z","updated_at":"2016-05-12T13:52:16Z","closed_at":null,"body":"_From @tiwariarvin on April 8, 2016 4:59_\n\nHi - I get error copied below, when I run an \"AlterTableAnnotation\" migratio. Can someone please confirm is that is supported in this Postgres driver (or) in PostGres? If it is, how can fix this error?\r\n\r\n\"Unhandled MigrationOperation AlterTableOperation in NpgsqlMigrationSqlGenerator\"\r\n\r\nBelow is the stack trace -\r\nStack trace on PM -\r\nApplying explicit migration: 201604041142031_test.\r\nSystem.NotImplementedException: Unhandled MigrationOperation AlterTableOperation in NpgsqlMigrationSqlGenerator\r\nat Npgsql.NpgsqlMigrationSqlGenerator.Convert(IEnumerable1 operations) at Npgsql.NpgsqlMigrationSqlGenerator.Generate(IEnumerable1 migrationOperations, String providerManifestToken)\r\nat System.Data.Entity.Migrations.DbMigrator.GenerateStatements(IList1 operations, String migrationId) at System.Data.Entity.Migrations.Infrastructure.MigratorBase.GenerateStatements(IList1 operations, String migrationId)\r\nat System.Data.Entity.Migrations.DbMigrator.ExecuteOperations(String migrationId, VersionedModel targetModel, IEnumerable1 operations, IEnumerable1 systemOperations, Boolean downgrading, Boolean auto)\r\nat System.Data.Entity.Migrations.DbMigrator.ApplyMigration(DbMigration migration, DbMigration lastMigration)\r\nat System.Data.Entity.Migrations.Infrastructure.MigratorLoggingDecorator.ApplyMigration(DbMigration migration, DbMigration lastMigration)\r\nat System.Data.Entity.Migrations.DbMigrator.Upgrade(IEnumerable1 pendingMigrations, String targetMigrationId, String lastMigrationId) at System.Data.Entity.Migrations.Infrastructure.MigratorLoggingDecorator.Upgrade(IEnumerable1 pendingMigrations, String targetMigrationId, String lastMigrationId)\r\nat System.Data.Entity.Migrations.DbMigrator.UpdateInternal(String targetMigration)\r\nat System.Data.Entity.Migrations.DbMigrator.<>c__DisplayClassc.b__b()\r\nat System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)\r\nat System.Data.Entity.Migrations.Infrastructure.MigratorBase.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)\r\nat System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)\r\nat System.Data.Entity.Migrations.Infrastructure.MigratorBase.Update(String targetMigration)\r\nat System.Data.Entity.Migrations.Design.ToolingFacade.UpdateRunner.Run()\r\nat System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)\r\nat System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)\r\nat System.Data.Entity.Migrations.Design.ToolingFacade.Run(BaseRunner runner)\r\nat System.Data.Entity.Migrations.Design.ToolingFacade.Update(String targetMigration, Boolean force)\r\nat System.Data.Entity.Migrations.UpdateDatabaseCommand.<>c__DisplayClass2.<.ctor>b__0()\r\nat System.Data.Entity.Migrations.MigrationsDomainCommand.Execute(Action command)\n\n_Copied from original issue: npgsql/npgsql#1020_"},"comment":{"url":"https://api.github.com/repos/npgsql/EntityFramework6.Npgsql/issues/comments/218763475","html_url":"https://github.com/npgsql/EntityFramework6.Npgsql/issues/33#issuecomment-218763475","issue_url":"https://api.github.com/repos/npgsql/EntityFramework6.Npgsql/issues/33","id":218763475,"user":{"login":"roji","id":1862641,"avatar_url":"https://avatars.githubusercontent.com/u/1862641?v=3","gravatar_id":"","url":"https://api.github.com/users/roji","html_url":"https://github.com/roji","followers_url":"https://api.github.com/users/roji/followers","following_url":"https://api.github.com/users/roji/following{/other_user}","gists_url":"https://api.github.com/users/roji/gists{/gist_id}","starred_url":"https://api.github.com/users/roji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roji/subscriptions","organizations_url":"https://api.github.com/users/roji/orgs","repos_url":"https://api.github.com/users/roji/repos","events_url":"https://api.github.com/users/roji/events{/privacy}","received_events_url":"https://api.github.com/users/roji/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T13:52:16Z","updated_at":"2016-05-12T13:52:16Z","body":"_From @tiwariarvin on April 12, 2016 11:1_\n\nSure Roji, And agree \"AlterTableAnnotation\" is processed differently by different drivers out there.\r\n\r\nAs requested, please find below copied migration which resulted into this exception. Additionally, if you wish I can contribute possibly by the end of next week to get this resolved.\r\n\r\nAlterTableAnnotations(\r\n                \"someschema.sometable\",\r\n                c => new\r\n                    {\r\n                        //deleted code here\r\n                    },\r\n                annotations: new Dictionary<string, AnnotationValues>\r\n                {\r\n                    { \r\n                        \"DynamicFilter_Annoucement_IsDeleted\",\r\n                        new AnnotationValues(oldValue: null, newValue: \"EntityFramework.DynamicFilters.DynamicFilterDefinition\")\r\n                    },\r\n                });\r\n\r\nThanks"}}