Delete column

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 года назад

  [NopMigration("2020/06/23 09:57:00:2551771", "All New Migration")]
    public class AllNewMigration : Migration
    {
       public override void Down()
        {
           throw new System.NotImplementedException();
      }

        public override void Up()
        {
              Delete.Column("SomeNewProperty")
              .FromTable(nameof(BlogPost));
        }
    }


I am try delete column but not working.

Thank you
3 года назад
Are you sure that the migration is starting? A migration doesn't run if it already exists in the database. Try to find a row in MigrationVersionInfo table with the same description. In your case just remove this a record.
3 года назад
Thank you very much.

How can I get tutorials for develop manual payment to add my payment gate like payfort ?
Thank you.
3 года назад
Your welcome! You can find more details about creating a payment plugin in our documentation here.
3 года назад
unfortunately that did not help and get log error
Information   => Application started, I rewrite every single code line in payments.manual but I still get the log error and payments function disappear from data table.

Thank you
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.