Skip to content

Postgres error on -reinit: missing column ExcellentItemDropLevelDelta in GameConfiguration #751

@vipchens

Description

@vipchens

Steps to reproduce

  1. Pull latest master locally.
  2. Start MUnique.OpenMU.Startup.
  3. Start with -demo → works.
  4. Start with -reinit (recreate database) → fails.

Expected behavior
• Database is recreated and initialization completes successfully.

Actual behavior
• Initialization fails during SaveChanges with the following exception:
errorlog.txt

Npgsql.PostgresException (0x80004005): 42703: column "ExcellentItemDropLevelDelta" of relation "GameConfiguration" does not exist POSITION: 196 at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) --- End of inner exception stack trace ---

Exception data: Severity: ERROR SqlState: 42703 MessageText: relation "GameConfiguration" column "ExcellentItemDropLevelDelta" does not exist Position: 196 File: parse_target.c Line: 1071 Routine: checkInsertTargets
Notes / context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions