Skip to content

Commit

Permalink
fix things
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgencheg committed Oct 12, 2024
1 parent 015196f commit 082b4c8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 22 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-secrets4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
jobs:
validate_rsis:
name: Validate RSIs
if: github.actor != 'PJBot' && github.event.pull_request.draft == false && github.actor != 'DeltaV-Bot' && github.actor != 'SimpleStation14' && github.actor != 'Lost-Paradise-Bot' && github.repository == 'Lost-Paradise-Project/Lost-Paradise'
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,20 @@ public partial class CustomSpecieName : Migration
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
migrationBuilder.AddColumn<string>(
name: "custom_specie_name",
table: "profile",
type: "text",
nullable: false,
defaultValue: "",
oldClrType: typeof(string),
oldType: "text",
oldNullable: true);
defaultValue: "");
}

/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
migrationBuilder.DropColumn(
name: "custom_specie_name",
table: "profile",
type: "text",
nullable: true,
oldClrType: typeof(string),
oldType: "text");
table: "profile");
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,20 @@ public partial class CustomSpecieName : Migration
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
migrationBuilder.AddColumn<string>(
name: "custom_specie_name",
table: "profile",
type: "TEXT",
nullable: false,
defaultValue: "",
oldClrType: typeof(string),
oldType: "TEXT",
oldNullable: true);
defaultValue: "");
}

/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
migrationBuilder.DropColumn(
name: "custom_specie_name",
table: "profile",
type: "TEXT",
nullable: true,
oldClrType: typeof(string),
oldType: "TEXT");
table: "profile");
}
}
}

0 comments on commit 082b4c8

Please sign in to comment.