Implemented Dark Mode (#203)

This commit is contained in:
Joseph Milazzo 2021-05-09 08:44:12 -05:00 committed by GitHub
parent 55b11e036e
commit 8b1fbc0096
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 791 additions and 1 deletions

View file

@ -0,0 +1,24 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace API.Data.Migrations
{
public partial class SiteDarkModePreference : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "SiteDarkMode",
table: "AppUserPreferences",
type: "INTEGER",
nullable: false,
defaultValue: false);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "SiteDarkMode",
table: "AppUserPreferences");
}
}
}