-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f5e543
commit 51225ea
Showing
8 changed files
with
764 additions
and
28 deletions.
There are no files selected for viewing
304 changes: 304 additions & 0 deletions
304
...Player.Vm.Api/Data/Migrations/Postgres/20240522143235_added_teamId_to_vm_user.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
src/Player.Vm.Api/Data/Migrations/Postgres/20240522143235_added_teamId_to_vm_user.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Copyright 2024 Carnegie Mellon University. All Rights Reserved. | ||
// Released under a MIT (SEI)-style license. See LICENSE.md in the project root for license information. | ||
|
||
using System; | ||
using Microsoft.EntityFrameworkCore.Migrations; | ||
|
||
#nullable disable | ||
|
||
namespace Player.Vm.Api.Data.Migrations.Postgres | ||
{ | ||
public partial class added_teamId_to_vm_user : Migration | ||
{ | ||
protected override void Up(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.AddColumn<Guid>( | ||
name: "team_id", | ||
table: "vm_users", | ||
type: "uuid", | ||
nullable: false, | ||
defaultValue: new Guid("00000000-0000-0000-0000-000000000000")); | ||
} | ||
|
||
protected override void Down(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.DropColumn( | ||
name: "team_id", | ||
table: "vm_users"); | ||
} | ||
} | ||
} |
Oops, something went wrong.