-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Align MaxLength of EventName and EventKey among entities. #908
base: master
Are you sure you want to change the base?
Align MaxLength of EventName and EventKey among entities. #908
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mentioned in your comment that you had to update to .net 5?
Which project was that?
public string EventName { get; set; } | ||
|
||
[MaxLength(100)] | ||
[MaxLength(200)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably need to create a migration for Postgres too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added migration for PostgreSql
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about MySql if it requires local MySql server connection in order to create a migration.
I was unable to run dotnet ef commands. |
Made MaxLength of EventName and EventKey properties the same as in PersistedEvent.
Added EF Migration.
fixes #898