feat(admin): added backend for admin pages
This commit is contained in:
parent
54cfc05b88
commit
56ea7fb7f0
26 changed files with 662 additions and 42 deletions
|
|
@ -19,8 +19,9 @@ namespace JellyGlassBackend.Migrations
|
|||
|
||||
modelBuilder.Entity("JellyGlass.Models.Server", b =>
|
||||
{
|
||||
b.Property<string>("Id")
|
||||
.HasColumnType("TEXT");
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<string>("ApiToken")
|
||||
.IsRequired()
|
||||
|
|
@ -48,6 +49,9 @@ namespace JellyGlassBackend.Migrations
|
|||
.IsRequired()
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<bool>("IsAdmin")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.HasKey("Username");
|
||||
|
||||
b.ToTable("Logins");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue