Skip to content

Commit

Permalink
Super fix for ADT DB
Browse files Browse the repository at this point in the history
  • Loading branch information
KashRas committed Aug 10, 2024
1 parent 814eb78 commit a12aacd
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1310,6 +1310,42 @@ protected override void BuildModel(ModelBuilder modelBuilder)
b.ToTable("server_unban", (string)null);
});

modelBuilder.Entity("Content.Server.Database.Sponsor", b =>
{
b.Property<Guid>("UserId")
.ValueGeneratedOnAdd()
.HasColumnType("uuid")
.HasColumnName("user_id");
b.Property<bool>("AllowJob")
.HasColumnType("boolean")
.HasColumnName("allow_job");
b.Property<string>("AllowedMarkings")
.IsRequired()
.HasColumnType("text")
.HasColumnName("allowed_markings");
b.Property<DateTime>("ExpireDate")
.HasColumnType("timestamp with time zone")
.HasColumnName("expire_date");
b.Property<int>("ExtraSlots")
.HasColumnType("integer")
.HasColumnName("extra_slots");
b.Property<bool>("HavePriorityJoin")
.HasColumnType("boolean")
.HasColumnName("have_priority_join");
b.Property<string>("OOCColor")
.IsRequired()
.HasColumnType("text")
.HasColumnName("ooccolor");
b.Property<int>("Tier")
.HasColumnType("integer")
.HasColumnName("tier");
b.HasKey("UserId")
.HasName("PK_sponsors");
b.HasIndex("UserId")
.IsUnique();
b.ToTable("sponsors", (string)null);
});

modelBuilder.Entity("Content.Server.Database.Trait", b =>
{
b.Property<int>("Id")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1237,6 +1237,42 @@ protected override void BuildModel(ModelBuilder modelBuilder)
b.ToTable("server_unban", (string)null);
});

modelBuilder.Entity("Content.Server.Database.Sponsor", b =>
{
b.Property<Guid>("UserId")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT")
.HasColumnName("user_id");
b.Property<bool>("AllowJob")
.HasColumnType("INTEGER")
.HasColumnName("allow_job");
b.Property<string>("AllowedMarkings")
.IsRequired()
.HasColumnType("TEXT")
.HasColumnName("allowed_markings");
b.Property<DateTime>("ExpireDate")
.HasColumnType("TEXT")
.HasColumnName("expire_date");
b.Property<int>("ExtraSlots")
.HasColumnType("INTEGER")
.HasColumnName("extra_slots");
b.Property<bool>("HavePriorityJoin")
.HasColumnType("INTEGER")
.HasColumnName("have_priority_join");
b.Property<string>("OOCColor")
.IsRequired()
.HasColumnType("TEXT")
.HasColumnName("ooccolor");
b.Property<int>("Tier")
.HasColumnType("INTEGER")
.HasColumnName("tier");
b.HasKey("UserId")
.HasName("PK_sponsors");
b.HasIndex("UserId")
.IsUnique();
b.ToTable("sponsors", (string)null);
});

modelBuilder.Entity("Content.Server.Database.Trait", b =>
{
b.Property<int>("Id")
Expand Down

0 comments on commit a12aacd

Please sign in to comment.