Skip to content

Commit 536101e

Browse files
committed
Fixed linting
1 parent c712df3 commit 536101e

File tree

3 files changed

+54
-60
lines changed

3 files changed

+54
-60
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,27 @@
1-
using System;
2-
using Microsoft.EntityFrameworkCore.Migrations;
1+
using Microsoft.EntityFrameworkCore.Migrations;
32

43
#nullable disable
54

6-
namespace Bit.MySqlMigrations.Migrations
5+
namespace Bit.MySqlMigrations.Migrations;
6+
7+
/// <inheritdoc />
8+
public partial class AddArchivedDateToCipher : Migration
79
{
810
/// <inheritdoc />
9-
public partial class AddArchivedDateToCipher : Migration
11+
protected override void Up(MigrationBuilder migrationBuilder)
1012
{
11-
/// <inheritdoc />
12-
protected override void Up(MigrationBuilder migrationBuilder)
13-
{
14-
migrationBuilder.AddColumn<DateTime>(
15-
name: "ArchivedDate",
16-
table: "Cipher",
17-
type: "datetime(6)",
18-
nullable: true);
19-
}
13+
migrationBuilder.AddColumn<DateTime>(
14+
name: "ArchivedDate",
15+
table: "Cipher",
16+
type: "datetime(6)",
17+
nullable: true);
18+
}
2019

21-
/// <inheritdoc />
22-
protected override void Down(MigrationBuilder migrationBuilder)
23-
{
24-
migrationBuilder.DropColumn(
25-
name: "ArchivedDate",
26-
table: "Cipher");
27-
}
20+
/// <inheritdoc />
21+
protected override void Down(MigrationBuilder migrationBuilder)
22+
{
23+
migrationBuilder.DropColumn(
24+
name: "ArchivedDate",
25+
table: "Cipher");
2826
}
2927
}
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,27 @@
1-
using System;
2-
using Microsoft.EntityFrameworkCore.Migrations;
1+
using Microsoft.EntityFrameworkCore.Migrations;
32

43
#nullable disable
54

6-
namespace Bit.PostgresMigrations.Migrations
5+
namespace Bit.PostgresMigrations.Migrations;
6+
7+
/// <inheritdoc />
8+
public partial class AddArchivedDateToCipher : Migration
79
{
810
/// <inheritdoc />
9-
public partial class AddArchivedDateToCipher : Migration
11+
protected override void Up(MigrationBuilder migrationBuilder)
1012
{
11-
/// <inheritdoc />
12-
protected override void Up(MigrationBuilder migrationBuilder)
13-
{
14-
migrationBuilder.AddColumn<DateTime>(
15-
name: "ArchivedDate",
16-
table: "Cipher",
17-
type: "timestamp with time zone",
18-
nullable: true);
19-
}
13+
migrationBuilder.AddColumn<DateTime>(
14+
name: "ArchivedDate",
15+
table: "Cipher",
16+
type: "timestamp with time zone",
17+
nullable: true);
18+
}
2019

21-
/// <inheritdoc />
22-
protected override void Down(MigrationBuilder migrationBuilder)
23-
{
24-
migrationBuilder.DropColumn(
25-
name: "ArchivedDate",
26-
table: "Cipher");
27-
}
20+
/// <inheritdoc />
21+
protected override void Down(MigrationBuilder migrationBuilder)
22+
{
23+
migrationBuilder.DropColumn(
24+
name: "ArchivedDate",
25+
table: "Cipher");
2826
}
2927
}
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,27 @@
1-
using System;
2-
using Microsoft.EntityFrameworkCore.Migrations;
1+
using Microsoft.EntityFrameworkCore.Migrations;
32

43
#nullable disable
54

6-
namespace Bit.SqliteMigrations.Migrations
5+
namespace Bit.SqliteMigrations.Migrations;
6+
7+
/// <inheritdoc />
8+
public partial class AddArchivedDateToCipher : Migration
79
{
810
/// <inheritdoc />
9-
public partial class AddArchivedDateToCipher : Migration
11+
protected override void Up(MigrationBuilder migrationBuilder)
1012
{
11-
/// <inheritdoc />
12-
protected override void Up(MigrationBuilder migrationBuilder)
13-
{
14-
migrationBuilder.AddColumn<DateTime>(
15-
name: "ArchivedDate",
16-
table: "Cipher",
17-
type: "TEXT",
18-
nullable: true);
19-
}
13+
migrationBuilder.AddColumn<DateTime>(
14+
name: "ArchivedDate",
15+
table: "Cipher",
16+
type: "TEXT",
17+
nullable: true);
18+
}
2019

21-
/// <inheritdoc />
22-
protected override void Down(MigrationBuilder migrationBuilder)
23-
{
24-
migrationBuilder.DropColumn(
25-
name: "ArchivedDate",
26-
table: "Cipher");
27-
}
20+
/// <inheritdoc />
21+
protected override void Down(MigrationBuilder migrationBuilder)
22+
{
23+
migrationBuilder.DropColumn(
24+
name: "ArchivedDate",
25+
table: "Cipher");
2826
}
2927
}

0 commit comments

Comments
 (0)