ralmsdeveloper / EntityFrameworkCore.FirebirdSQL

FirebirdSQL database provider for Entity Framework Core.
Other
44 stars 26 forks source link

Boolean type for Fb 2.5 #13

Open ralmsdeveloper opened 6 years ago

ralmsdeveloper commented 6 years ago

Boolean type for Fb 2.5

ludydoo commented 6 years ago

Hi, are boolean fields supported in 2.0.11.6 ? (FB 2.5)

I'm using the Add-Migration of EntityFrameworkCore to produce a migration script. In my model, I have a property of type bool. The resulting migration script defines the property as bool as well. Though, FB 2.5 does not support boolean properties and gives an error when trying to run the Update-Database tool, with error message being "Specified domain or source column BOOLEAN does not exist".

My problem is very similar to https://github.com/ralmsdeveloper/EntityFrameworkCore.FirebirdSQL/issues/11 this issue. This issue is marked as finished, so I wondered if this is supported yet or maybe I'm just doing something wrong.

ralmsdeveloper commented 6 years ago

Hello @ludydoo , I'm working on it, I'm spending some effort to tweak the provider and keep up with the 2.5 compatibility, since each provider was thought of 3.X.

So I'll sort this out, but it's only available for 2.1 RTM, but I think I can release a version before for testing.

qbikez commented 6 years ago

I aslo encountered similar error with FB 2.5. #35 may fix it (bf46f00153d8c6231de42c2a0df2f021b544daf4).