30 lines
782 B
C#
30 lines
782 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace FinlyticTrades.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class DerivativeIsin : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "DerivativeIsin",
|
|
table: "trades",
|
|
type: "character varying(20)",
|
|
maxLength: 20,
|
|
nullable: true);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "DerivativeIsin",
|
|
table: "trades");
|
|
}
|
|
}
|
|
}
|