Skip to content

Commit

Permalink
redis distributed cache registration
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidEggenberger committed Feb 18, 2024
1 parent 08ea4b1 commit d5b02fa
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 345 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

Expand All @@ -22,11 +23,9 @@ protected override void Up(MigrationBuilder migrationBuilder)
UserId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
StripePortalCustomerId = table.Column<string>(type: "nvarchar(max)", nullable: true),
CreatedByUserId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
IsSoftDeleted = table.Column<bool>(type: "bit", nullable: false),
RowVersion = table.Column<byte[]>(type: "varbinary(max)", nullable: true),
CreatedAt = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: false),
LastUpdatedAt = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: false),
IsDeleted = table.Column<bool>(type: "bit", nullable: false)
LastUpdatedAt = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: false)
},
constraints: table =>
{
Expand All @@ -44,11 +43,9 @@ protected override void Up(MigrationBuilder migrationBuilder)
PlanType = table.Column<int>(type: "int", nullable: false),
Status = table.Column<int>(type: "int", nullable: false),
CreatedByUserId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
IsSoftDeleted = table.Column<bool>(type: "bit", nullable: false),
RowVersion = table.Column<byte[]>(type: "varbinary(max)", nullable: true),
CreatedAt = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: false),
LastUpdatedAt = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: false),
IsDeleted = table.Column<bool>(type: "bit", nullable: false),
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: false)
},
constraints: table =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ public void ConfigureServices(IServiceCollection services, IConfiguration config
{
options.ApplicationCookie.Configure(options =>
{

options.ExpireTimeSpan = new TimeSpan(6, 0, 0);
options.Cookie.SameSite = SameSiteMode.Strict;
options.Cookie.SecurePolicy = CookieSecurePolicy.Always;
Expand Down
Loading

0 comments on commit d5b02fa

Please sign in to comment.