12 protected override void Up(MigrationBuilder migrationBuilder)
14 ArgumentNullException.ThrowIfNull(migrationBuilder);
16 migrationBuilder.AlterColumn<
long>(
21 oldClrType: typeof(
long),
23 .Annotation(
"MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
25 migrationBuilder.AlterColumn<
long>(
30 oldClrType: typeof(
long),
32 .Annotation(
"MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
34 migrationBuilder.AlterColumn<
long>(
36 table:
"RevisionInformations",
39 oldClrType: typeof(
long),
41 .Annotation(
"MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
43 migrationBuilder.AlterColumn<
long>(
45 table:
"RevInfoTestMerges",
48 oldClrType: typeof(
long),
50 .Annotation(
"MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
52 migrationBuilder.AlterColumn<
long>(
54 table:
"RepositorySettings",
57 oldClrType: typeof(
long),
59 .Annotation(
"MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
61 migrationBuilder.AlterColumn<
long>(
63 table:
"ReattachInformations",
66 oldClrType: typeof(
long),
68 .Annotation(
"MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
70 migrationBuilder.AlterColumn<
long>(
72 table:
"PermissionSets",
75 oldClrType: typeof(
long),
77 .Annotation(
"MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
79 migrationBuilder.AlterColumn<
long>(
81 table:
"OAuthConnections",
84 oldClrType: typeof(
long),
86 .Annotation(
"MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
88 migrationBuilder.AlterColumn<
long>(
93 oldClrType: typeof(
long),
95 .Annotation(
"MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
97 migrationBuilder.AlterColumn<
long>(
102 oldClrType: typeof(
long),
104 .Annotation(
"MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
106 migrationBuilder.AlterColumn<
long>(
108 table:
"InstancePermissionSets",
111 oldClrType: typeof(
long),
113 .Annotation(
"MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
115 migrationBuilder.AlterColumn<
long>(
120 oldClrType: typeof(
long),
122 .Annotation(
"MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
124 migrationBuilder.AlterColumn<
long>(
126 table:
"DreamMakerSettings",
129 oldClrType: typeof(
long),
131 .Annotation(
"MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
133 migrationBuilder.AlterColumn<
long>(
135 table:
"DreamDaemonSettings",
138 oldClrType: typeof(
long),
140 .Annotation(
"MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
142 migrationBuilder.AlterColumn<
long>(
144 table:
"CompileJobs",
147 oldClrType: typeof(
long),
149 .Annotation(
"MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
151 migrationBuilder.AlterColumn<
long>(
153 table:
"ChatChannels",
156 oldClrType: typeof(
long),
158 .Annotation(
"MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
160 migrationBuilder.AlterColumn<
long>(
165 oldClrType: typeof(
long),
167 .Annotation(
"MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);