1234567891011121314151617181920212223242526272829303132333435 |
- using System;
- using Microsoft.EntityFrameworkCore.Migrations;
- #nullable disable
- namespace ConcursoProjetos.Migrations
- {
- /// <inheritdoc />
- public partial class projetocodigo2 : Migration
- {
- /// <inheritdoc />
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AlterColumn<Guid>(
- name: "Codigo",
- table: "Projeto",
- type: "uniqueidentifier",
- nullable: false,
- oldClrType: typeof(string),
- oldType: "nvarchar(max)");
- }
- /// <inheritdoc />
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AlterColumn<string>(
- name: "Codigo",
- table: "Projeto",
- type: "nvarchar(max)",
- nullable: false,
- oldClrType: typeof(Guid),
- oldType: "uniqueidentifier");
- }
- }
- }
|