Skip to content

Commit

Permalink
Remove unneeded config.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed Sep 24, 2024
1 parent 6bf8ef5 commit fec43d7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ControlR.Web.Server/Data/AppDb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ protected override void OnModelCreating(ModelBuilder builder)
.HasIndex(x => x.Uid)
.IsUnique();

builder
.Entity<Device>()
.Property(x => x.Uid)
.HasDefaultValueSql("gen_random_uuid()")
.HasSentinel(Guid.Empty);

builder
.Entity<Device>()
.Property(x => x.CurrentUsers)
Expand Down

0 comments on commit fec43d7

Please sign in to comment.