Changeset 9f7a52e for iknow-api


Ignore:
Timestamp:
12/12/25 16:26:00 (10 months ago)
Author:
imbrsk <boris696boris@…>
Branches:
master
Children:
2e17229
Parents:
39f76a9
Message:

Update database connection strings and initialize migration for schema changes

  • Changed the database connection strings in both appsettings.Development.json and appsettings.json to point to a new host with updated credentials.
  • Added initial migration files (20251211135004_inital.Designer.cs and 20251211135004_inital.cs) to set up the database schema, including tables for ActiveSemesters, Documents, Majors, Subjects, User, and related entities.
  • Defined relationships and constraints between tables in the migration.
  • Seeded initial data for Majors table.
Location:
iknow-api
Files:
1 edited
2 moved

Legend:

Unmodified
Added
Removed
  • iknow-api/Migrations/20251211135004_inital.Designer.cs

    r39f76a9 r9f7a52e  
    1313{
    1414    [DbContext(typeof(AppDbContext))]
    15     [Migration("20251210134426_UpdateModels")]
    16     partial class UpdateModels
     15    [Migration("20251211135004_inital")]
     16    partial class inital
    1717    {
    1818        /// <inheritdoc />
  • iknow-api/Migrations/20251211135004_inital.cs

    r39f76a9 r9f7a52e  
    1010{
    1111    /// <inheritdoc />
    12     public partial class UpdateModels : Migration
     12    public partial class inital : Migration
    1313    {
    1414        /// <inheritdoc />
  • iknow-api/appsettings.json

    r39f76a9 r9f7a52e  
    77  },
    88  "ConnectionStrings": {
    9     "DefaultConnection": "Host=ep-dark-sun-a4dr99wd-pooler.us-east-1.aws.neon.tech; Database=neondb; Username=neondb_owner; Password=REDACTED_ROTATE_ME; SSL Mode=VerifyFull; Channel Binding=Require;"
     9    "DefaultConnection": "Host=ep-blue-glitter-ag6m81xo-pooler.c-2.eu-central-1.aws.neon.tech; Database=neondb; Username=neondb_owner; Password=REDACTED_ROTATE_ME; SSL Mode=VerifyFull; Channel Binding=Require;"
    1010  },
    1111  "Jwt": {
Note: See TracChangeset for help on using the changeset viewer.