using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace line_gestao_api.Migrations { /// public partial class FixVigenciaLinesPendingChanges : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "VigenciaLines", columns: table => new { Id = table.Column(type: "uuid", nullable: false), Item = table.Column(type: "integer", nullable: false), Conta = table.Column(type: "text", nullable: true), Linha = table.Column(type: "text", nullable: true), Cliente = table.Column(type: "text", nullable: true), Usuario = table.Column(type: "text", nullable: true), PlanoContrato = table.Column(type: "text", nullable: true), DtEfetivacaoServico = table.Column(type: "timestamp with time zone", nullable: true), DtTerminoFidelizacao = table.Column(type: "timestamp with time zone", nullable: true), Total = table.Column(type: "numeric", nullable: true), CreatedAt = table.Column(type: "timestamp with time zone", nullable: false), UpdatedAt = table.Column(type: "timestamp with time zone", nullable: false) }, constraints: table => { table.PrimaryKey("PK_VigenciaLines", x => x.Id); }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "VigenciaLines"); } } }