11 protected override void Up(MigrationBuilder migrationBuilder)
13 ArgumentNullException.ThrowIfNull(migrationBuilder);
15 migrationBuilder.AlterColumn<
long>(
17 table:
"OAuthConnections",
21 oldClrType: typeof(
long),
25 migrationBuilder.AlterColumn<
string>(
26 name:
"AutoUpdateCron",
28 type:
"character varying(1000)",
31 oldClrType: typeof(
string),
32 oldType:
"character varying(10000)",
35 migrationBuilder.AddColumn<
string>(
36 name:
"AutoStartCron",
38 type:
"character varying(1000)",
41 defaultValue: String.Empty);
43 migrationBuilder.AddColumn<
string>(
46 type:
"character varying(1000)",
49 defaultValue: String.Empty);
53 protected override void Down(MigrationBuilder migrationBuilder)
55 ArgumentNullException.ThrowIfNull(migrationBuilder);
57 migrationBuilder.DropColumn(
58 name:
"AutoStartCron",
61 migrationBuilder.DropColumn(
65 migrationBuilder.AlterColumn<
long>(
67 table:
"OAuthConnections",
70 oldClrType: typeof(
long),
73 migrationBuilder.AlterColumn<
string>(
74 name:
"AutoUpdateCron",
76 type:
"character varying(10000)",
79 oldClrType: typeof(
string),
80 oldType:
"character varying(1000)",