Foxnouns.NET/Foxnouns.Backend/Database
sam d982342ab8
refactor: pass DbContextOptions into context directly
turns out efcore doesn't like it when we create a new options instance
(which includes a new data source *and* a new logger factory)
every single time we create a context. this commit extracts
OnConfiguring into static methods which are called when the context is
added to the service collection and when it's manually created for
migrations and the importer.
2024-10-30 15:35:23 +01:00
..
Migrations feat: add some fediverse authentication code 2024-10-06 15:34:31 +02:00
Models feat: add some fediverse authentication code 2024-10-06 15:34:31 +02:00
BaseModel.cs chore: add csharpier to husky, format backend with csharpier 2024-10-02 00:28:07 +02:00
DatabaseContext.cs refactor: pass DbContextOptions into context directly 2024-10-30 15:35:23 +01:00
DatabaseQueryExtensions.cs chore: add csharpier to husky, format backend with csharpier 2024-10-02 00:28:07 +02:00
DatabaseServiceExtensions.cs refactor: pass DbContextOptions into context directly 2024-10-30 15:35:23 +01:00
FlagQueryExtensions.cs chore: add csharpier to husky, format backend with csharpier 2024-10-02 00:28:07 +02:00
ISnowflakeGenerator.cs chore: add csharpier to husky, format backend with csharpier 2024-10-02 00:28:07 +02:00
prune-designer-cs-files.sh add script to prune designer files from migrations, add README with acknowledgements 2024-09-26 17:11:52 +02:00
Snowflake.cs chore: add csharpier to husky, format backend with csharpier 2024-10-02 00:28:07 +02:00
SnowflakeGenerator.cs chore: add csharpier to husky, format backend with csharpier 2024-10-02 00:28:07 +02:00