SharebookBR / sharebook-backend

Projeto backend de código livre para o app Sharebook.
117 stars 75 forks source link

The 'bool' property 'Active' on entity type 'User' is configured with a database-generated default. This default will always be used for inserts when the property has the value 'false', since this is the CLR default for the 'bool' type. Consider using the #342

Open raffacabofrio opened 4 years ago

raffacabofrio commented 4 years ago

View details in Rollbar: https://rollbar.com/kalilventura/Sharebook/items/1095/

The 'bool' property 'Active' on entity type 'User' is configured with a database-generated default. This default will always be used for inserts when the property has the value 'false', since this is the CLR default for the 'bool' type. Consider using the nullable 'bool?' type instead so that the default will only be used for inserts when the property value is 'null'.