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

Add max lengths to database string columns if desired #867

Open
hhyyrylainen opened this issue Feb 18, 2024 · 0 comments
Open

Add max lengths to database string columns if desired #867

hhyyrylainen opened this issue Feb 18, 2024 · 0 comments

Comments

@hhyyrylainen
Copy link
Member

Looks like the string length attribute ([StringLength(255)]) can be used to restrict how long text can be put in a database column. With PostgreSQL this doesn't have a performance impact, just a data validness check. So if desired this can be done. Note that if done then the following warning should be re-enabled:

	<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=EntityFramework_002EModelValidation_002EUnlimitedStringLength/@EntryIndexedValue">SUGGESTION</s:String>
@hhyyrylainen hhyyrylainen added this to Backburner in Thrive Planning via automation Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Thrive Planning
  
Backburner
Development

No branches or pull requests

1 participant