1234567891011121314151617181920212223242526272829 |
- using Microsoft.EntityFrameworkCore.Migrations;
- #nullable disable
- namespace ConcursoProjetos.Migrations
- {
- /// <inheritdoc />
- public partial class projetocodigo : Migration
- {
- /// <inheritdoc />
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AddColumn<string>(
- name: "Codigo",
- table: "Projeto",
- type: "nvarchar(max)",
- nullable: false,
- defaultValue: "");
- }
- /// <inheritdoc />
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "Codigo",
- table: "Projeto");
- }
- }
- }
|