Skip to content
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

Enums DB #113

Open
AxelTob opened this issue Nov 7, 2022 · 0 comments
Open

Enums DB #113

AxelTob opened this issue Nov 7, 2022 · 0 comments

Comments

@AxelTob
Copy link
Contributor

AxelTob commented Nov 7, 2022

Borde ändra så enums inte sparas som ints i DB.
Blir två listor som både backend och frontend måste ha samma ordning, lite läskigt.

https://learn.microsoft.com/en-us/ef/ef6/modeling/code-first/data-types/enums
https://learn.microsoft.com/en-us/ef/core/modeling/value-conversions?tabs=data-annotations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant