mirror of
https://github.com/guilhermewerner/gerencia-projetos
synced 2025-06-16 23:15:05 +00:00
New Migration
This commit is contained in:
24
GerenciaProjetos/Migrations/20190922115947_2.cs
Normal file
24
GerenciaProjetos/Migrations/20190922115947_2.cs
Normal file
@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace GerenciaProjetos.Migrations
|
||||
{
|
||||
public partial class _2 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<TimeSpan>(
|
||||
name: "TempoGasto",
|
||||
table: "DesenvolvedorRequisito",
|
||||
nullable: false,
|
||||
defaultValue: new TimeSpan(0, 0, 0, 0, 0));
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "TempoGasto",
|
||||
table: "DesenvolvedorRequisito");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user