Esempio n. 1
0
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn2 <string>(
                name: "moretasks",
                table: "Employees",
                nullable: true);

            migrationBuilder.AddColumn2 <string>(
                name: "tasks",
                table: "Employees",
                nullable: true);
        }
Esempio n. 2
0
 protected override void Up(MigrationBuilder migrationBuilder)
 {
     migrationBuilder.KeepAliveCustomMigration(migrationBuilder.GetMigrationId(typeof(AddNewColumn)));
     migrationBuilder.AddColumn2 <string>(
         name: "NewFieldForScriptGeneration",
         table: "Employees",
         nullable: true);
 }